guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: EXTERNAL: Re: ERROR: file: "libguilereadline-v-17", message: "The sp


From: Whitlock, Bradley D
Subject: RE: EXTERNAL: Re: ERROR: file: "libguilereadline-v-17", message: "The specified module could not be found"
Date: Thu, 13 Jan 2011 12:13:21 -0500

Ludo,

I re-ran 'make' and got some warnings that I had not noticed before:

make  all-recursive
make[3]: Entering directory `/c/home/guile-1.8.8/build/guile-readline'
Making all in ice-9
make[4]: Entering directory `/c/home/guile-1.8.8/build/guile-readline/ice-9'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/c/home/guile-1.8.8/build/guile-readline/ice-9'
make[4]: Entering directory `/c/home/guile-1.8.8/build/guile-readline'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -DSCM_IMPORT -I.
 -I../../guile-readline -I. -I.. -I../../guile-readline/..    -g -O2 -MT readlin
e.lo -MD -MP -MF .deps/readline.Tpo -c -o readline.lo ../../guile-readline/readl
ine.c
libtool: compile:  gcc -DHAVE_CONFIG_H -DSCM_IMPORT -I. -I../../guile-readline -
I. -I.. -I../../guile-readline/.. -g -O2 -MT readline.lo -MD -MP -MF .deps/readl
ine.Tpo -c ../../guile-readline/readline.c  -DDLL_EXPORT -DPIC -o .libs/readline
.o
mv -f .deps/readline.Tpo .deps/readline.Plo
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -version-info 17:3:0 -expor
t-dynamic -no-undefined  -o libguilereadline-v-17.la -rpath /usr/local/lib readl
ine.lo ../libguile/libguile.la -lreadline -ltermcap

*** Warning: linker path does not have real file for library -ltermcap.
*** 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 libtermcap and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/local/lib/libtermcap.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.
libtool: link: ar cru .libs/libguilereadline-v-17.a .libs/readline.o
libtool: link: ranlib .libs/libguilereadline-v-17.a
libtool: link: ( cd ".libs" && rm -f "libguilereadline-v-17.la" && cp -p "../lib
guilereadline-v-17.la" "libguilereadline-v-17.la" )

So it looks like the dll version of libguilereadline-v-17 is not building 
because I don't have a dll of libtermcap (but I do have static version). Not 
sure how to get a dll termcap because the package seems really simple, I don't 
even think it recognizes --enable-shared option.

Here is the config output for termcap-1.3.1:
$ ../configure --disable-static --enable-shared --prefix=/usr/local
creating cache ./config.cache
checking for gcc... gcc
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for string.h... yes
checking for unistd.h... yes
checking whether cross-compiling... no
checking for ANSI C header files... yes
updating cache ./config.cache
creating ./config.status
creating Makefile

$ make
gcc -c  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1  -DTERMCAP_FILE=\"/
etc/termcap\" -I. -I.. -g ../termcap.c
gcc -c  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1  -DTERMCAP_FILE=\"/
etc/termcap\" -I. -I.. -g ../tparam.c
gcc -c  -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1  -DTERMCAP_FILE=\"/
etc/termcap\" -I. -I.. -g ../version.c
ar rc libtermcap.a termcap.o tparam.o version.o
ranlib libtermcap.a

Definitely not building dll version...How do I get dll of termcap?

-Thanks
Brad

-----Original Message-----
From: Ludovic Courtès [mailto:address@hidden 
Sent: Tuesday, January 11, 2011 11:02 AM
To: Whitlock, Bradley D
Subject: EXTERNAL: Re: ERROR: file: "libguilereadline-v-17", message: "The 
specified module could not be found"

Hi,

"Whitlock, Bradley D" <address@hidden> writes:

> It seems to me that the guile readline dll is not being built. I built guile 
> as follows:
>
> cp /c/MinGW/lib/libws2_32.a /usr/local/lib
> ../configure -C --disable-static --enable-shared --prefix=/usr/local && make 
> install
>
> Shouldn't there be a libguilereadline-v-17.dll.a in /usr/local/lib rather 
> than libguilereadline-v-17.a ?

It could be that ‘configure’, or even ‘libtool --mode=link’, determined
that it can’t build shared libraries for some reason.

Can you grep ‘config.log’ for “shared” and also check the whole build
log for Libtool warnings?

Thanks,
Ludo’.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]