Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing troubles - gettext [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mindseyex2
n00b
n00b


Joined: 03 Nov 2004
Posts: 54

PostPosted: Tue Jul 25, 2006 12:35 am    Post subject: Installing troubles - gettext [SOLVED] Reply with quote

Hello All,

I am trying to setup a new server, but it is giving me some troubles. I booted off of the 2006.0 x86 livecd, and I am following the instructions in the handbook for a Stage-2 install. I decided to use the genkernel path. The kernel compiled just fine, but when I try to emerge coldplug, I get the following error:

Code:

(chroot) livecd / # emerge coldplug
Calculating dependencies ...done!
>>> emerge (1 of 11) dev-perl/Locale-gettext-1.05 to /
>>> md5 files   ;-) Locale-gettext-1.04.ebuild
>>> md5 files   ;-) Locale-gettext-1.01-r1.ebuild
>>> md5 files   ;-) Locale-gettext-1.03.ebuild
>>> md5 files   ;-) Locale-gettext-1.05.ebuild
>>> md5 files   ;-) files/digest-Locale-gettext-1.01-r1
>>> md5 files   ;-) files/digest-Locale-gettext-1.03
>>> md5 files   ;-) files/digest-Locale-gettext-1.04
>>> md5 files   ;-) files/digest-Locale-gettext-1.05
>>> md5 src_uri ;-) gettext-1.05.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
checking for gettext... no
checking for gettext in -lintl... no
gettext function not found. Please install libintl at Makefile.PL line 18.

!!! ERROR: dev-perl/Locale-gettext-1.05 failed.
!!! Function perl-module_src_prep, Line 117, Exitcode 2
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, NOT this status message.


I tried re-emerging gettext, and that installs fine, but I continue to get the same error as above when trying to emerge coldplug. Hmm.. If I try to do a emerge -u portage, it gives a related(?) error while emerging Locale-gettext:

Code:

(chroot) livecd / # emerge -u portage
Calculating dependencies ...done!
>>> emerge (1 of 47) dev-perl/Locale-gettext-1.05 to /
>>> md5 files   ;-) Locale-gettext-1.04.ebuild
>>> md5 files   ;-) Locale-gettext-1.01-r1.ebuild
>>> md5 files   ;-) Locale-gettext-1.03.ebuild
>>> md5 files   ;-) Locale-gettext-1.05.ebuild
>>> md5 files   ;-) files/digest-Locale-gettext-1.01-r1
>>> md5 files   ;-) files/digest-Locale-gettext-1.03
>>> md5 files   ;-) files/digest-Locale-gettext-1.04
>>> md5 files   ;-) files/digest-Locale-gettext-1.05
>>> md5 src_uri ;-) gettext-1.05.tar.gz
>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
checking for gettext... no
checking for gettext in -lintl... no
gettext function not found. Please install libintl at Makefile.PL line 18.

!!! ERROR: dev-perl/Locale-gettext-1.05 failed.
!!! Function perl-module_src_prep, Line 117, Exitcode 2
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, NOT this status message.


Below is my make.conf:

Code:

CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

USE="X alsa avi bzlib crypt cups dvd exif exiscan-acl gif gnome gtk2 jpeg maildir mmx mpeg pam samba java ssl 3dnow ncurses usb perl unicode offensive imap ldap berkdb mysql nls tcpd lmtp -ipv6"

Thank you in advance...


Last edited by mindseyex2 on Wed Jul 26, 2006 11:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Tue Jul 25, 2006 12:50 am    Post subject: Reply with quote

Try installing libintl-perl, and see if that helps.


troymc
Back to top
View user's profile Send private message
mindseyex2
n00b
n00b


Joined: 03 Nov 2004
Posts: 54

PostPosted: Tue Jul 25, 2006 1:53 am    Post subject: Reply with quote

Nope... That gives me another error about perl not being found.

Code:

>>> Unpacking source...
>>> Unpacking libintl-perl-1.11.tar.gz to /var/tmp/portage/libintl-perl-1.11/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Checking whether we can compile the XS version ... no
=> Cannot build the XS version of libintl-perl (see 'config.log' for
=> details).  This is harmless!
Checking if your kit is complete...
Looks good

Error: Unable to locate installed Perl libraries or Perl source code.

It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.

(You get this message, because MakeMaker could not find "/usr/lib/perl5/5.8.7/i386-linux/CORE/perl.h")

!!! ERROR: dev-perl/libintl-perl-1.11 failed.
!!! Function perl-module_src_prep, Line 117, Exitcode 2
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, NOT this status message.


Just for kicks, I tried to try to install perl, but that gave me another gettext error:
Code:

>>> Unpacking source...
>>> Unpacking gettext-1.05.tar.gz to /var/tmp/portage/Locale-gettext-1.05/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
checking for gettext... no
checking for gettext in -lintl... no
gettext function not found. Please install libintl at Makefile.PL line 18.

!!! ERROR: dev-perl/Locale-gettext-1.05 failed.
!!! Function perl-module_src_prep, Line 117, Exitcode 2
!!! Unable to build! (are you using USE="build"?)
!!! If you need support, post the topmost build error, NOT this status message.


I am thinking of saving my make.conf and kernel conf file and start over. Maybe I messed up somewhere. Hmm.. now, which file do i need to backup for kernel config? and then how to i use that config when i start over? I could never get that part to work.
Back to top
View user's profile Send private message
mindseyex2
n00b
n00b


Joined: 03 Nov 2004
Posts: 54

PostPosted: Wed Jul 26, 2006 4:27 am    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message
webdawg
n00b
n00b


Joined: 26 Jul 2006
Posts: 34

PostPosted: Wed Jul 26, 2006 4:35 pm    Post subject: I am having this same problem Reply with quote

I am having this same problem and i have emerged libintl i simply do not understand why i cannot emerge locale-gettext. It will not work for me can someone please help.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 26, 2006 4:39 pm    Post subject: Reply with quote

Stage 1 and 2 are no longer supported. It's recommende you use a stage 3 tarball.
Try emerging perl first
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
webdawg
n00b
n00b


Joined: 26 Jul 2006
Posts: 34

PostPosted: Wed Jul 26, 2006 8:11 pm    Post subject: Not Supported Reply with quote

Like Why do we have them anyways not supported?
Back to top
View user's profile Send private message
mindseyex2
n00b
n00b


Joined: 03 Nov 2004
Posts: 54

PostPosted: Wed Jul 26, 2006 10:13 pm    Post subject: Reply with quote

I was wondering the same thing too... Why are they there if they are not supported? At the very least they should be in a subdirectoy called 'unsupported' or something like that.

Anyway, I did a re-install from stage3 and it seems to be going well (just built the kernel).
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Thu Jul 27, 2006 8:11 am    Post subject: Reply with quote

The Gentoo Handbook clearly states:
Quote:

I can't find stage1 information in the Gentoo Handbook

Instructions on using a stage1 or stage2 tarball are now available in the Gentoo FAQ. A stage3 installation is the only supported installation as of now.


The referenced FAQ entry clearly states:
Quote:

The Gentoo Handbook only describes a Gentoo installation using a stage3 tarball. However, Gentoo still provides stage1 and stage2 tarballs. This is for development purposes (the Release Engineering team starts from a stage1 tarball to obtain a stage3) but shouldn't be used by users




troymc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum