Problem with configuration

View: New views
4 Messages — Rating Filter:   Alert me  

Problem with configuration

by Purkayastha, Debashish X :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello,

 

I am trying to configure Kaffe version xxxxxx

 

I have downloaded the library libtool from  

http://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.gz

     and installed in /usr/local/lib, /usr/local/include

 

My /usr/local/lib  looks like this:

[27] ../libtool/libtool-2.2.4 : ls /usr/local/lib

libltdl.a   libltdl.so.7      libts-0.0.so.0.1.1  libts.so

libltdl.la  libltdl.so.7.1.2  libts.a             pkgconfig

libltdl.so  libts-0.0.so.0    libts.la            ts

 

 

I have specified the include and library path in configure

e.g: ./configure --prefix=/usr/local --build=i386-linux --host=arm-linux --with-includes="/usr/local/include" --with-libraries="/usr/local/lib"

 

I am getting the following error  :

 

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking ltdl.h usability... yes

checking ltdl.h presence... yes

checking for ltdl.h... yes

checking for library containing lt_dlcaller_register... no

configure: error: Can't find the libltdl library.

 

I went to /usr/local/lib and ran the nm command against each library (object) file. The nm command shows the symbols in an object file. None of the libraries contained a lt_dllcaller_register symbol.

 

I then searched the libtool archive for any mention of lt_dlcaller_register. The file named ChangeLog.2005 says that lt_dlcaller_register was renamed, and the file named NEWS says it was a deprecated API and was removed.

 

So, it looks like the Kaffe configure script is referencing a deprecated API in the libltdl library. Is that correct?

 

Please suggest how to make the configure work properly.

 

Thanks,

DP

 

 
 
 
Debashish Purkayastha
Senior Staff Engineer, Software
InterDigital Communications, LLC
781 Third Ave.
King of Prussia, PA 19406
Tel.: +1 610.878.5654
Fax: +1 610.878.7841
This e-mail is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and/or otherwise protected from disclosure to anyone other than its intended recipient. Unintended transmission shall not constitute waiver of any privilege or confidentiality obligation. If you received this communication in error, please do not review, copy or distribute it, notify me immediately by email, and delete the original message and any attachments. Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.


_______________________________________________
kaffe mailing list
kaffe@...
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Re: Problem with configuration

by Kiyo Inaba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Debashish,

>I have downloaded the library libtool from
>http://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.gz

I was encountered same problem recently for newly installed environment.
The checking for libtool invokes some deprecated functions, and you
have to install some 1.5.x (I did with 1.5.26) of libtool rather than
2.2.x series.

Hope this may help.

Kiyo


_______________________________________________
kaffe mailing list
kaffe@...
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Re: Problem with configuration

by Purkayastha, Debashish X :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Kiyo,

Thanks for your response.

I tried with libtool 1.5.26 as well as 1.5.18. But getting the same
problem.

configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-linux-g++...
/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/arm-linux/bin/ld
checking if the linker
(/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/arm-linux/bin/ld)
is GNU ld... yes
checking whether the arm-linux-g++ linker
(/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/arm-linux/bin/ld)
supports shared libraries... yes
checking for arm-linux-g++ option to produce PIC... -fPIC
checking if arm-linux-g++ PIC flag -fPIC works... yes
checking if arm-linux-g++ static flag -static works... yes
checking if arm-linux-g++ supports -c -o file.o... yes
checking whether the arm-linux-g++ linker
(/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/arm-linux/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker
(/opt/mtwk/usr/local/gcc-3.3.2-glibc-2.3.2/arm-linux/arm-linux/bin/ld)
supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking ltdl.h usability... yes
checking ltdl.h presence... yes
checking for ltdl.h... yes
checking for library containing lt_dlcaller_register... no
configure: error: Can't find the libltdl library.

Any help will be much appreciated.

Thanks,
Debashish.

-----Original Message-----
From: kaffe-bounces@... [mailto:kaffe-bounces@...] On Behalf
Of Kiyo Inaba
Sent: Tuesday, July 08, 2008 8:08 PM
To: Purkayastha, Debashish X
Cc: kaffe@...; inaba@...
Subject: Re: [kaffe] Problem with configuration

Hi Debashish,

>I have downloaded the library libtool from
>http://ftp.gnu.org/gnu/libtool/libtool-2.2.4.tar.gz

I was encountered same problem recently for newly installed environment.
The checking for libtool invokes some deprecated functions, and you
have to install some 1.5.x (I did with 1.5.26) of libtool rather than
2.2.x series.

Hope this may help.

Kiyo


_______________________________________________
kaffe mailing list
kaffe@...
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe



 
 
 
Debashish Purkayastha
Senior Staff Engineer, Software
InterDigital Communications, LLC
781 Third Ave.
King of Prussia, PA 19406
Tel.: +1 610.878.5654
Fax: +1 610.878.7841
Email: Debashish.Purkayastha@...
http://www.InterDigital.com



This e-mail is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and/or otherwise protected from disclosure to anyone other than its intended recipient. Unintended transmission shall not constitute waiver of any privilege or confidentiality obligation. If you received this communication in error, please do not review, copy or distribute it, notify me immediately by email, and delete the original message and any attachments. Unless expressly stated in this e-mail, nothing in this message or any attachment should be construed as a digital or electronic signature.

_______________________________________________
kaffe mailing list
kaffe@...
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Re: Problem with configuration

by Kiyo Inaba :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>I tried with libtool 1.5.26 as well as 1.5.18. But getting the same
>problem.
>
...
>checking for ltdl.h... yes
>checking for library containing lt_dlcaller_register... no
>configure: error: Can't find the libltdl library.

Of course, if you don't put your old (v1.5 series) libltdl in your library
search path, the configure can not find this library. While configuring,
you have to supply proper directory lists (separated by colon) to
--with-includes, and --with-libraries.

And also, seeing 'config.log' may help you to solve what's wrong to
detect existing libraries.

Kiyo
 

_______________________________________________
kaffe mailing list
kaffe@...
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
LightInTheBox - Buy quality products at wholesale price