public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libtool
@ 2009-10-06 11:56 dhk
  2009-10-06 12:04 ` Volker Armin Hemmann
  0 siblings, 1 reply; 5+ messages in thread
From: dhk @ 2009-10-06 11:56 UTC (permalink / raw
  To: gentoo-user

I recently ran a make clean on a C/Gtk program I'm developing and now
can't run ./configure to rebuild it.  It looks like all my libtool links
are broken.  There were links to the following files, but now those
files don't exist.

/usr/share/libtool/ltmain.sh
/usr/share/libtool/config.sub
/usr/share/libtool/config.guess

Now there's an ltmain.sh in /usr/share/libtool/config/but I'm not sure
if I should use that one.

Also the root cause of this was probably an emerge I did this weekend
with the -e option.  Is something missing?

I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
emerge --oneshot -av libtool and this didn't fix anything.

Any ideas?

Thanks,

Dave



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] libtool
  2009-10-06 11:56 [gentoo-user] libtool dhk
@ 2009-10-06 12:04 ` Volker Armin Hemmann
  2009-10-06 12:18   ` dhk
  0 siblings, 1 reply; 5+ messages in thread
From: Volker Armin Hemmann @ 2009-10-06 12:04 UTC (permalink / raw
  To: gentoo-user

On Dienstag 06 Oktober 2009, dhk wrote:
> I recently ran a make clean on a C/Gtk program I'm developing and now
> can't run ./configure to rebuild it.  It looks like all my libtool links
> are broken.  There were links to the following files, but now those
> files don't exist.
> 
> /usr/share/libtool/ltmain.sh
> /usr/share/libtool/config.sub
> /usr/share/libtool/config.guess

and afaik that is correct.

have a look into
/usr/share/libtool/config

> > 
> Also the root cause of this was probably an emerge I did this weekend
> with the -e option.  Is something missing?

no, nothing is missing - look into config

> 
> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
> emerge --oneshot -av libtool and this didn't fix anything.

fix_libtool_files fixes *la files containing wrong stuff.

> 
> Any ideas?

idea: there is nothing wrong but your symlinks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] libtool
  2009-10-06 12:04 ` Volker Armin Hemmann
@ 2009-10-06 12:18   ` dhk
  2009-10-06 12:39     ` Volker Armin Hemmann
  0 siblings, 1 reply; 5+ messages in thread
From: dhk @ 2009-10-06 12:18 UTC (permalink / raw
  To: gentoo-user

Volker Armin Hemmann wrote:
> On Dienstag 06 Oktober 2009, dhk wrote:
>> I recently ran a make clean on a C/Gtk program I'm developing and now
>> can't run ./configure to rebuild it.  It looks like all my libtool links
>> are broken.  There were links to the following files, but now those
>> files don't exist.
>>
>> /usr/share/libtool/ltmain.sh
>> /usr/share/libtool/config.sub
>> /usr/share/libtool/config.guess
> 
> and afaik that is correct.
> 
> have a look into
> /usr/share/libtool/config
> 
>> Also the root cause of this was probably an emerge I did this weekend
>> with the -e option.  Is something missing?
> 
> no, nothing is missing - look into config
> 
>> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
>> emerge --oneshot -av libtool and this didn't fix anything.
> 
> fix_libtool_files fixes *la files containing wrong stuff.
> 
>> Any ideas?
> 
> idea: there is nothing wrong but your symlinks.
> 
> 

It's good to know that it's just the symlinks.  I changed the one to
ltmain.sh, but when I run configure config/config.sub is still missing
and when I run make clean I still get the following.

 $ make clean cd . && /bin/sh
/home/max/Dev/Pos/Pos09/pos/trunk/config/missing --run automake-1.9 --gnu
configure.ac:53: required file `config/config.guess' not found
configure.ac:53: required file `config/config.sub' not found
configure.ac:45: required file `config/ltmain.sh' not found
make: *** [Makefile.in] Error 1

???

Thanks,

Dave



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] libtool
  2009-10-06 12:18   ` dhk
@ 2009-10-06 12:39     ` Volker Armin Hemmann
  2009-10-06 12:53       ` dhk
  0 siblings, 1 reply; 5+ messages in thread
From: Volker Armin Hemmann @ 2009-10-06 12:39 UTC (permalink / raw
  To: gentoo-user

On Dienstag 06 Oktober 2009, dhk wrote:
> Volker Armin Hemmann wrote:
> > On Dienstag 06 Oktober 2009, dhk wrote:
> >> I recently ran a make clean on a C/Gtk program I'm developing and now
> >> can't run ./configure to rebuild it.  It looks like all my libtool links
> >> are broken.  There were links to the following files, but now those
> >> files don't exist.
> >>
> >> /usr/share/libtool/ltmain.sh
> >> /usr/share/libtool/config.sub
> >> /usr/share/libtool/config.guess
> >
> > and afaik that is correct.
> >
> > have a look into
> > /usr/share/libtool/config
> >
> >> Also the root cause of this was probably an emerge I did this weekend
> >> with the -e option.  Is something missing?
> >
> > no, nothing is missing - look into config
> >
> >> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
> >> emerge --oneshot -av libtool and this didn't fix anything.
> >
> > fix_libtool_files fixes *la files containing wrong stuff.
> >
> >> Any ideas?
> >
> > idea: there is nothing wrong but your symlinks.
> 
> It's good to know that it's just the symlinks.  I changed the one to
> ltmain.sh, but when I run configure config/config.sub is still missing
> and when I run make clean I still get the following.
> 
>  $ make clean cd . && /bin/sh
> /home/max/Dev/Pos/Pos09/pos/trunk/config/missing --run automake-1.9 --gnu
> configure.ac:53: required file `config/config.guess' not found
> configure.ac:53: required file `config/config.sub' not found
> configure.ac:45: required file `config/ltmain.sh' not found
> make: *** [Makefile.in] Error 1
> 
> ???
> 
> Thanks,
> 
> Dave
> 

what are the contents of /usr/share/libtool/config?

on my system I get this:
ls -lh /usr/share/libtool/config
insgesamt 512K
-rwxr-xr-x 1 root root 3,7K  6. Okt 06:55 compile
lrwxrwxrwx 1 root root   33  6. Okt 06:55 config.guess -> 
/usr/share/gnuconfig/config.guess
lrwxrwxrwx 1 root root   31  6. Okt 06:55 config.sub -> 
/usr/share/gnuconfig/config.sub
-rwxr-xr-x 1 root root  18K  6. Okt 06:55 depcomp
-rwxr-xr-x 1 root root  14K  6. Okt 06:55 install-sh
-rwxr-xr-x 1 root root 238K  6. Okt 06:55 ltmain.sh
-rwxr-xr-x 1 root root  11K  6. Okt 06:55 missing




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] libtool
  2009-10-06 12:39     ` Volker Armin Hemmann
@ 2009-10-06 12:53       ` dhk
  0 siblings, 0 replies; 5+ messages in thread
From: dhk @ 2009-10-06 12:53 UTC (permalink / raw
  To: gentoo-user

Volker Armin Hemmann wrote:
> On Dienstag 06 Oktober 2009, dhk wrote:
>> Volker Armin Hemmann wrote:
>>> On Dienstag 06 Oktober 2009, dhk wrote:
>>>> I recently ran a make clean on a C/Gtk program I'm developing and now
>>>> can't run ./configure to rebuild it.  It looks like all my libtool links
>>>> are broken.  There were links to the following files, but now those
>>>> files don't exist.
>>>>
>>>> /usr/share/libtool/ltmain.sh
>>>> /usr/share/libtool/config.sub
>>>> /usr/share/libtool/config.guess
>>> and afaik that is correct.
>>>
>>> have a look into
>>> /usr/share/libtool/config
>>>
>>>> Also the root cause of this was probably an emerge I did this weekend
>>>> with the -e option.  Is something missing?
>>> no, nothing is missing - look into config
>>>
>>>> I ran fix_libtool_files.sh 3.4.6 which I think I did before and then ran
>>>> emerge --oneshot -av libtool and this didn't fix anything.
>>> fix_libtool_files fixes *la files containing wrong stuff.
>>>
>>>> Any ideas?
>>> idea: there is nothing wrong but your symlinks.
>> It's good to know that it's just the symlinks.  I changed the one to
>> ltmain.sh, but when I run configure config/config.sub is still missing
>> and when I run make clean I still get the following.
>>
>>  $ make clean cd . && /bin/sh
>> /home/max/Dev/Pos/Pos09/pos/trunk/config/missing --run automake-1.9 --gnu
>> configure.ac:53: required file `config/config.guess' not found
>> configure.ac:53: required file `config/config.sub' not found
>> configure.ac:45: required file `config/ltmain.sh' not found
>> make: *** [Makefile.in] Error 1
>>
>> ???
>>
>> Thanks,
>>
>> Dave
>>
> 
> what are the contents of /usr/share/libtool/config?
> 
> on my system I get this:
> ls -lh /usr/share/libtool/config
> insgesamt 512K
> -rwxr-xr-x 1 root root 3,7K  6. Okt 06:55 compile
> lrwxrwxrwx 1 root root   33  6. Okt 06:55 config.guess -> 
> /usr/share/gnuconfig/config.guess
> lrwxrwxrwx 1 root root   31  6. Okt 06:55 config.sub -> 
> /usr/share/gnuconfig/config.sub
> -rwxr-xr-x 1 root root  18K  6. Okt 06:55 depcomp
> -rwxr-xr-x 1 root root  14K  6. Okt 06:55 install-sh
> -rwxr-xr-x 1 root root 238K  6. Okt 06:55 ltmain.sh
> -rwxr-xr-x 1 root root  11K  6. Okt 06:55 missing
> 
> 
> 


Got it, it was just the symlinks.  When I made them the first time they
ended up in the wrong directory.  It's fixed now and works.

Thanks,

Dave



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-06 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06 11:56 [gentoo-user] libtool dhk
2009-10-06 12:04 ` Volker Armin Hemmann
2009-10-06 12:18   ` dhk
2009-10-06 12:39     ` Volker Armin Hemmann
2009-10-06 12:53       ` dhk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox