* compiling zsh: executable linker flags
@ 2001-09-19 12:53 Vincent Lefevre
2001-09-19 15:00 ` Broken configure? (was: compiling zsh: executable linker flags) Vincent Lefevre
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Lefevre @ 2001-09-19 12:53 UTC (permalink / raw)
To: zsh-users
I'm compiling zsh 4.0.2 under Solaris. I use the following configure
options:
--prefix=$HOME
--exec-prefix=$HOME/$ARCHTYPE
--enable-maildir-support
--with-curses-terminfo
--enable-cppflags="-I$HOME/include"
--enable-ldflags="-L$HOME/$ARCHTYPE/lib"
But at the end, configure says:
zsh configuration
-----------------
zsh version : 4.0.2
host operating system : sparc-sun-solaris2.7
source code location : .
compiler : gcc
preprocessor flags : -I/users/spaces/lefevre/include
executable compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2
module compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2 -fPIC
executable linker flags :
module linker flags : -G
library flags : -lsocket -ldl -lnsl -lcurses -lm -lc
installation basename : zsh
binary install path : /users/spaces/lefevre/sparc-solaris/bin
man page install path : /users/spaces/lefevre/man
info install path : /users/spaces/lefevre/info
functions install path : /users/spaces/lefevre/share/zsh/4.0.2/functions
See config.modules for installed modules and functions.
Shouldn't the "executable linker flags" line contain the corresponding
-L option like under Linux?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Broken configure? (was: compiling zsh: executable linker flags)
2001-09-19 12:53 compiling zsh: executable linker flags Vincent Lefevre
@ 2001-09-19 15:00 ` Vincent Lefevre
2001-09-20 16:08 ` Broken configure? Vincent Lefevre
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Lefevre @ 2001-09-19 15:00 UTC (permalink / raw)
To: zsh-users
On Wed, Sep 19, 2001 at 14:53:17 +0200, Vincent Lefevre wrote:
> Shouldn't the "executable linker flags" line contain the corresponding
> -L option like under Linux?
I've added some echo's in configure. Under Solaris:
***** LDFLAGS 12: -L/users/spaces/lefevre/alpha-osf1/lib
checking for working RTLD_GLOBAL... yes
***** LDFLAGS 13:
This is because of the line
LDFLAGS=$save_ldflags
Note that "save_ldflags" isn't set before. Something wrong?
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Broken configure?
2001-09-19 15:00 ` Broken configure? (was: compiling zsh: executable linker flags) Vincent Lefevre
@ 2001-09-20 16:08 ` Vincent Lefevre
0 siblings, 0 replies; 3+ messages in thread
From: Vincent Lefevre @ 2001-09-20 16:08 UTC (permalink / raw)
To: zsh-users
[-- Attachment #1: Type: text/plain, Size: 2261 bytes --]
On Wed, Sep 19, 2001 at 17:00:45 +0200, Vincent Lefevre wrote:
> I've added some echo's in configure. Under Solaris:
>
> ***** LDFLAGS 12: -L/users/spaces/lefevre/alpha-osf1/lib
> checking for working RTLD_GLOBAL... yes
> ***** LDFLAGS 13:
>
> This is because of the line
>
> LDFLAGS=$save_ldflags
>
> Note that "save_ldflags" isn't set before. Something wrong?
The attached patch solves this problem, and zsh now correctly works
under Solaris. But under OSF, I still get the
zsh: can't find termcap info for rxvt
error. This seems to mean that zsh hasn't been linked to the version
of ncurses I've installed in my $HOME.
zsh configuration
-----------------
zsh version : 4.0.2
host operating system : alphaev6-dec-osf4.0f
source code location : .
compiler : gcc
preprocessor flags : -I/users/spaces/lefevre/include
executable compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2
module compiler flags : -Wall -Wno-implicit -Wmissing-prototypes -O2 -fPIC
executable linker flags : -L/users/spaces/lefevre/alpha-osf1/lib -L/users/spaces/lefevre/lib
module linker flags : -L/users/spaces/lefevre/alpha-osf1/lib -L/users/spaces/lefevre/lib -shared
library flags : -lcurses -lm -lc
installation basename : zsh
binary install path : /users/spaces/lefevre/alpha-osf1/bin
man page install path : /users/spaces/lefevre/man
info install path : /users/spaces/lefevre/info
functions install path : /users/spaces/lefevre/share/zsh/4.0.2/functions
See config.modules for installed modules and functions.
greux:~> cd /users/spaces/lefevre/alpha-osf1/lib; ll *curses* <18:07:14
lrwxr-xr-x 1 lefevre spaces 12 Sep 19 15:12 libcurses.a -> libncurses.a
-rwxr-xr-x 1 lefevre spaces 583844 Sep 19 15:12 libncurses++.a*
-rw-r--r-- 1 lefevre spaces 988740 Sep 19 15:12 libncurses.a
-rw-r--r-- 1 lefevre spaces 3764158 Sep 19 15:12 libncurses_g.a
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
[-- Attachment #2: zsh-configure-patch --]
[-- Type: text/plain, Size: 204 bytes --]
--- configure.old Tue Jun 26 12:09:04 2001
+++ configure Thu Sep 20 16:48:22 2001
@@ -7459,7 +7459,6 @@
rm -fr conftest*
fi
- LDFLAGS=$save_ldflags
else
zsh_cv_sys_dynamic_rtld_global=no
fi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-20 16:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-19 12:53 compiling zsh: executable linker flags Vincent Lefevre
2001-09-19 15:00 ` Broken configure? (was: compiling zsh: executable linker flags) Vincent Lefevre
2001-09-20 16:08 ` Broken configure? Vincent Lefevre
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).