public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] attr vs. gcc
@ 2006-09-20  9:32 Stefán István
  2006-09-20 10:14 ` Neil Bothwick
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stefán István @ 2006-09-20  9:32 UTC (permalink / raw
  To: gentoo levlist

Hello!
I've tried to install attr-2.4.28-r1 package to a machine, but got the 
following error:
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: No such file or 
directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or 
directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or 
directory
g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: No such file or 
directory

It's true, because I have 3.3.5 installed. But on another machine, where also 
gcc-3.3.5 is installed, the attr compiles succesfully.
So, why does attr search for gcc 3.3.4 on this machine?

Thanks,
Istvan
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] attr vs. gcc
  2006-09-20  9:32 [gentoo-user] attr vs. gcc Stefán István
@ 2006-09-20 10:14 ` Neil Bothwick
  2006-09-20 11:46   ` Stefán István
  2006-09-20 10:16 ` Friedrich Göpel
  2006-09-20 12:20 ` Stefán István
  2 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2006-09-20 10:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

On Wed, 20 Sep 2006 11:32:18 +0200, Stefán István wrote:

> It's true, because I have 3.3.5 installed. But on another machine,
> where also gcc-3.3.5 is installed, the attr compiles succesfully.
> So, why does attr search for gcc 3.3.4 on this machine?

Because files it needs were installed with gcc-3.3.4. Run

fix_libtool_files.sh 3.3.4


-- 
Neil Bothwick

During a raid on a local chemist's shop, 2000 Viagra tablets were stolen
Police are looking for hardened criminals!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] attr vs. gcc
  2006-09-20  9:32 [gentoo-user] attr vs. gcc Stefán István
  2006-09-20 10:14 ` Neil Bothwick
@ 2006-09-20 10:16 ` Friedrich Göpel
  2006-09-20 11:48   ` Stefán István
  2006-09-20 12:20 ` Stefán István
  2 siblings, 1 reply; 6+ messages in thread
From: Friedrich Göpel @ 2006-09-20 10:16 UTC (permalink / raw
  To: gentoo-user

On 9/20/06, Stefán István <stefi@geohidroterv.hu> wrote:
> It's true, because I have 3.3.5 installed. But on another machine, where also
> gcc-3.3.5 is installed, the attr compiles succesfully.
> So, why does attr search for gcc 3.3.4 on this machine?
Try gcc-config -l to see what version is active, that might give you a clue.

Cheers,

Friedrich Göpel

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] attr vs. gcc
  2006-09-20 10:14 ` Neil Bothwick
@ 2006-09-20 11:46   ` Stefán István
  0 siblings, 0 replies; 6+ messages in thread
From: Stefán István @ 2006-09-20 11:46 UTC (permalink / raw
  To: gentoo-user

szerda 20 szeptember 2006 12.14 dátummal Neil Bothwick ezt írta:
> On Wed, 20 Sep 2006 11:32:18 +0200, Stefán István wrote:
> 
> > It's true, because I have 3.3.5 installed. But on another machine,
> > where also gcc-3.3.5 is installed, the attr compiles succesfully.
> > So, why does attr search for gcc 3.3.4 on this machine?
> 
> Because files it needs were installed with gcc-3.3.4. Run
> 
> fix_libtool_files.sh 3.3.4

# fix_libtool_files.sh 3.3.4
Cannot open display "default display"
 * Scanning libtool files for hardcoded gcc library paths...
 *   [1/7] Scanning /lib ...
 *   [2/7] Scanning /usr/lib ...
 *   [3/7] Scanning /opt/blackdown-jdk-1.4.2.01/jre/lib/i386 ...
 *   [4/7] Scanning /usr/games/lib ...
 *   [5/7] Scanning /usr/kde/3.5/lib ...
 *   [6/7] Scanning /usr/local/lib ...
 *   [7/7] Scanning /usr/qt/3/lib ...

But the compilation fails the same way as before.

István


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] attr vs. gcc
  2006-09-20 10:16 ` Friedrich Göpel
@ 2006-09-20 11:48   ` Stefán István
  0 siblings, 0 replies; 6+ messages in thread
From: Stefán István @ 2006-09-20 11:48 UTC (permalink / raw
  To: gentoo-user

szerda 20 szeptember 2006 12.16 dátummal Friedrich Göpel ezt írta:
> On 9/20/06, Stefán István <stefi@geohidroterv.hu> wrote:
> > It's true, because I have 3.3.5 installed. But on another machine, where 
also
> > gcc-3.3.5 is installed, the attr compiles succesfully.
> > So, why does attr search for gcc 3.3.4 on this machine?
> Try gcc-config -l to see what version is active, that might give you a clue.
> 

# gcc-config -l 
 [1] i686-pc-linux-gnu-3.3.5 *
 [2] i686-pc-linux-gnu-3.3.5-hardened
 [3] i686-pc-linux-gnu-3.3.5-hardenednopie
 [4] i686-pc-linux-gnu-3.3.5-hardenednossp
 [5] i686-pc-linux-gnu-3.4.6
 [6] i686-pc-linux-gnu-3.4.6-hardened
 [7] i686-pc-linux-gnu-3.4.6-hardenednopie
 [8] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [9] i686-pc-linux-gnu-3.4.6-hardenednossp

But I don't know what does this mean.

István

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] attr vs. gcc
  2006-09-20  9:32 [gentoo-user] attr vs. gcc Stefán István
  2006-09-20 10:14 ` Neil Bothwick
  2006-09-20 10:16 ` Friedrich Göpel
@ 2006-09-20 12:20 ` Stefán István
  2 siblings, 0 replies; 6+ messages in thread
From: Stefán István @ 2006-09-20 12:20 UTC (permalink / raw
  To: gentoo-user

szerda 20 szeptember 2006 11.32 dátummal Stefán István ezt írta:
> Hello!
> I've tried to install attr-2.4.28-r1 package to a machine, but got the 
> following error:
> g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crti.o: No such file 
or 
> directory
> g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtbeginS.o: No such file or 
> directory
> g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/crtendS.o: No such file or 
> directory
> g++: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crtn.o: No such file 
or 
> directory
> 
> It's true, because I have 3.3.5 installed. But on another machine, where 
also 
> gcc-3.3.5 is installed, the attr compiles succesfully.
> So, why does attr search for gcc 3.3.4 on this machine?
> 

Now, I've compiled the attr package by hand succecfully with the following 
commands:

# make configure
# make
# make install install-lib

It works perfectly. The question is that why does't work the installation 
through portage?

Thanks,
István

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-09-20 12:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20  9:32 [gentoo-user] attr vs. gcc Stefán István
2006-09-20 10:14 ` Neil Bothwick
2006-09-20 11:46   ` Stefán István
2006-09-20 10:16 ` Friedrich Göpel
2006-09-20 11:48   ` Stefán István
2006-09-20 12:20 ` Stefán István

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