Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] libtool
Date: Tue, 06 Oct 2009 12:53:59
Message-Id: 4ACB3DE2.5060805@optonline.net
In Reply to: Re: [gentoo-user] libtool by Volker Armin Hemmann
1 Volker Armin Hemmann wrote:
2 > On Dienstag 06 Oktober 2009, dhk wrote:
3 >> Volker Armin Hemmann wrote:
4 >>> On Dienstag 06 Oktober 2009, dhk wrote:
5 >>>> I recently ran a make clean on a C/Gtk program I'm developing and now
6 >>>> can't run ./configure to rebuild it. It looks like all my libtool links
7 >>>> are broken. There were links to the following files, but now those
8 >>>> files don't exist.
9 >>>>
10 >>>> /usr/share/libtool/ltmain.sh
11 >>>> /usr/share/libtool/config.sub
12 >>>> /usr/share/libtool/config.guess
13 >>> and afaik that is correct.
14 >>>
15 >>> have a look into
16 >>> /usr/share/libtool/config
17 >>>
18 >>>> Also the root cause of this was probably an emerge I did this weekend
19 >>>> with the -e option. Is something missing?
20 >>> no, nothing is missing - look into config
21 >>>
22 >>>> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
23 >>>> emerge --oneshot -av libtool and this didn't fix anything.
24 >>> fix_libtool_files fixes *la files containing wrong stuff.
25 >>>
26 >>>> Any ideas?
27 >>> idea: there is nothing wrong but your symlinks.
28 >> It's good to know that it's just the symlinks. I changed the one to
29 >> ltmain.sh, but when I run configure config/config.sub is still missing
30 >> and when I run make clean I still get the following.
31 >>
32 >> $ make clean cd . && /bin/sh
33 >> /home/max/Dev/Pos/Pos09/pos/trunk/config/missing --run automake-1.9 --gnu
34 >> configure.ac:53: required file `config/config.guess' not found
35 >> configure.ac:53: required file `config/config.sub' not found
36 >> configure.ac:45: required file `config/ltmain.sh' not found
37 >> make: *** [Makefile.in] Error 1
38 >>
39 >> ???
40 >>
41 >> Thanks,
42 >>
43 >> Dave
44 >>
45 >
46 > what are the contents of /usr/share/libtool/config?
47 >
48 > on my system I get this:
49 > ls -lh /usr/share/libtool/config
50 > insgesamt 512K
51 > -rwxr-xr-x 1 root root 3,7K 6. Okt 06:55 compile
52 > lrwxrwxrwx 1 root root 33 6. Okt 06:55 config.guess ->
53 > /usr/share/gnuconfig/config.guess
54 > lrwxrwxrwx 1 root root 31 6. Okt 06:55 config.sub ->
55 > /usr/share/gnuconfig/config.sub
56 > -rwxr-xr-x 1 root root 18K 6. Okt 06:55 depcomp
57 > -rwxr-xr-x 1 root root 14K 6. Okt 06:55 install-sh
58 > -rwxr-xr-x 1 root root 238K 6. Okt 06:55 ltmain.sh
59 > -rwxr-xr-x 1 root root 11K 6. Okt 06:55 missing
60 >
61 >
62 >
63
64
65 Got it, it was just the symlinks. When I made them the first time they
66 ended up in the wrong directory. It's fixed now and works.
67
68 Thanks,
69
70 Dave