Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] libtool dhk <dhkuhl@×××××××××.net>