install.sh for Windows - libtool issue w/ guile
Keith.Gunderson at act.org
Keith.Gunderson at act.org
Thu Oct 19 11:18:49 EDT 2006
Hello all,
I'm excited about the work you've been doing porting gnucash to W32. I'm
having difficulty getting guile built and installed. Sorry if this should
be sent to the guild team first, but trail results were encouraged :)
I can't make sense of the issue although I'm rather close to being a
crackled veteran of these build processes... (at least in UNIX.) Can any
of you help sniff out the issue?
Thanks in advance.
I followed the instructions, from the README (as of SVN yesterday.) I
blanked my PATH to exclude cygwin and got messages "cygpath not found" at
the same spot of the issues I include below. So I altered the PATH to
include cygwin/bin and I get:
############################################################
### Wget
############################################################
already installed. skipping.
############################################################
### MSYS DTK
############################################################
msys dtk already installed. skipping.
############################################################
### MinGW
############################################################
mingw already installed. skipping.
############################################################
### Unzip
############################################################
unzip already installed. skipping.
############################################################
### RegEx
############################################################
regex already installed. skipping.
############################################################
### Readline
############################################################
readline already installed. skipping.
############################################################
### Indent
############################################################
indent already installed. skipping.
############################################################
### ActivePerl (intltool)
############################################################
ActivePerl already installed. skipping.
############################################################
### Guile
############################################################
configure: loading cache config.cache
.
.
.
make all-recursive
make[1]: Entering directory `/c/soft/tmp/guile-1.6.8'
Making all in oop
make[2]: Entering directory `/c/soft/tmp/guile-1.6.8/oop'
Making all in goops
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/oop/goops'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/oop/goops'
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/oop'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/oop'
make[2]: Leaving directory `/c/soft/tmp/guile-1.6.8/oop'
Making all in qt
make[2]: Entering directory `/c/soft/tmp/guile-1.6.8/qt'
Making all in md
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/qt/md'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/qt/md'
Making all in time
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/qt/time'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/qt/time'
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/qt'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/qt'
make[2]: Leaving directory `/c/soft/tmp/guile-1.6.8/qt'
Making all in libguile-ltdl
make[2]: Entering directory `/c/soft/tmp/guile-1.6.8/libguile-ltdl'
Making all in upstream
make[3]: Entering directory
`/c/soft/tmp/guile-1.6.8/libguile-ltdl/upstream'
make all-am
make[4]: Entering directory
`/c/soft/tmp/guile-1.6.8/libguile-ltdl/upstream'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/c/soft/tmp/guile-1.6.8/libguile-ltdl/upstream'
make[3]: Leaving directory
`/c/soft/tmp/guile-1.6.8/libguile-ltdl/upstream'
make[3]: Entering directory `/c/soft/tmp/guile-1.6.8/libguile-ltdl'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -Wall
-Wmissing-prototypes -fno-strict-aliasing -lwsock32
-L/c/soft/readline/lib -L/c/soft/regex/lib -lregex -no-undefined -o
libguile-ltdl.la -rpath c:/soft/guile/lib -version-info 1:1:0
-export-dynamic -no-undefined guile-ltdl.lo -ldl -lcrypt -lm
cygpath: can't convert empty path
*** Warning: linker path does not have real file for library -ldl.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdl and none of the candidates passed a file format test
*** using a file magic. Last file checked: /c/soft/regex/lib/libregex.a
*** Warning: linker path does not have real file for library -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libcrypt and none of the candidates passed a file format test
*** using a file magic. Last file checked: /c/soft/regex/lib/libregex.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
lib /OUT:.libs/libguile-ltdl.lib guile-ltdl.o
../libtool: lib: command not found
make[3]: *** [libguile-ltdl.la] Error 127
make[3]: Leaving directory `/c/soft/tmp/guile-1.6.8/libguile-ltdl'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/soft/tmp/guile-1.6.8/libguile-ltdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/soft/tmp/guile-1.6.8'
make: *** [all] Error 2
And here's some of the linker config data:
checking the maximum length of command line arguments... (cached) 8192
checking command to parse /c/progs/cygwin/bin/nm output from gcc object...
(cached) ok
checking for objdir... (cached) .libs
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking if gcc supports -fno-rtti -fno-exceptions... (cached) no
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... (cached) /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld...
(cached) no
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... no
checking for g++ option to produce PIC... -DDLL_EXPORT
checking if g++ PIC flag -DDLL_EXPORT works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/i686-pc-cygwin/bin/ld.exe) supports
shared libraries... no
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking which extension is used for loadable modules... (cached) .dll
checking which variable specifies run-time library path... (cached) PATH
checking for the default library search path... (cached) /lib /usr/lib
checking for objdir... (cached) .libs
checking whether libtool supports -dlopen/-dlpreopen... (cached) yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... (cached) yes
checking for _ prefix in compiled symbols... (cached) yes
checking whether we have to add an underscore for dlsym... (cached)
unknown
checking whether deplibs are loaded by dlopen... (cached) unknown
Keith
More information about the gnucash-devel
mailing list