| View previous topic :: View next topic |
| Author |
Message |
altaran n00b

Joined: 27 Aug 2011 Posts: 3
|
Posted: Sun Sep 18, 2011 5:34 pm Post subject: |
|
|
Using the regular stage 3 gave me some errors, probably due to already installed software.
I did some more research and found relatively up to date stage 1 i686 archives under http://www.fn-clan.de/downloads/gentoo/stage1/
Problem is that I run into a circular dependency issue when I try to emerge python 2.7.1-r1, which I find sort of strange since I did not put any USE flags in my make.conf yet...
/dev-lang/python-2.7.1-r1 -> /dev-util/pkgconfig-0.26 -> /dev-libs/glib-2.28.8 -> /dev-lang/python-2.7.1-r1
Has anyone experienced this before or does anyone have an idea how to resolve this?
Edit:
Problem solved by installing a lower version of pkfconfig that does not require glib. Then emerged Gtk-doc-am, then glib, which emerged Python as a dependency, and finally the newest version of pkgconfig. |
|
| Back to top |
|
 |
Xylex n00b

Joined: 06 Oct 2011 Posts: 1
|
Posted: Fri Oct 07, 2011 4:05 pm Post subject: |
|
|
Ive gotten through most of this, much more then I thought I would actually.
This is my first time compiling a linux distro. Its mostly a challenge given to me by a friend.
My issue is comming from running /usr/portage/scripts/bootstrap.sh
It looked like it went through most of the compile and emerge.
Except it failed on sys-devel/gettext-0.18.1.1-r1
| Code: |
...
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I..$
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DD$
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DD$
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -mtune=generic -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libglib_rpl.la glib/libglib_rpl_la-ghash.lo g$
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libglib_rpl.a glib/.libs/libglib_rpl_la-ghash.o glib/.libs/libglib_rpl_la-glist.o glib/.libs/libglib_rpl_la-gmessages.o glib/.libs$
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libglib_rpl.a
libtool: link: ( cd ".libs" && rm -f "libglib_rpl.la" && ln -s "../libglib_rpl.la" "libglib_rpl.la" )
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -mtune=generic -O2 -pipe -release 0.18.1 -lc -L/usr/lib64 -lxml2 -L/usr/lib64 -ldl -L/usr/l$
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/set-mode-acl.o .libs/copy-acl.o .libs/file-has-acl.o .libs/areadlink.o .libs/gl_array_list.o .libs/backupfile.o .$
/usr/bin: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make: *** [all-recursive] Error 1
emake failed
^[[31;01m*^[[0m ERROR: sys-devel/gettext-0.18.1.1-r1 failed (compile phase):
^[[31;01m*^[[0m emake failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 56: Called src_compile
^[[31;01m*^[[0m environment, line 2959: Called _eapi2_src_compile
^[[31;01m*^[[0m ebuild.sh, line 669: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake || die "emake failed"
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =sys-devel/gettext-0.18.1.1-r1',
^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =sys-devel/gettext-0.18.1.1-r1'.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/temp/environment'.
^[[31;01m*^[[0m S: '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1'
|
I tried googling it and didnt get a whole lot back. Now im asking you guys. |
|
| Back to top |
|
 |
rayzer n00b

Joined: 16 Mar 2012 Posts: 2
|
Posted: Fri Mar 23, 2012 11:31 am Post subject: |
|
|
| Xylex wrote: | Ive gotten through most of this, much more then I thought I would actually.
This is my first time compiling a linux distro. Its mostly a challenge given to me by a friend.
My issue is comming from running /usr/portage/scripts/bootstrap.sh
It looked like it went through most of the compile and emerge.
Except it failed on sys-devel/gettext-0.18.1.1-r1
| Code: |
...
/bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I..$
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DD$
libtool: compile: x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DD$
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -mtune=generic -O2 -pipe -Wl,-O1 -Wl,--as-needed -o libglib_rpl.la glib/libglib_rpl_la-ghash.lo g$
libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libglib_rpl.a glib/.libs/libglib_rpl_la-ghash.o glib/.libs/libglib_rpl_la-glist.o glib/.libs/libglib_rpl_la-gmessages.o glib/.libs$
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libglib_rpl.a
libtool: link: ( cd ".libs" && rm -f "libglib_rpl.la" && ln -s "../libglib_rpl.la" "libglib_rpl.la" )
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99 -mtune=generic -O2 -pipe -release 0.18.1 -lc -L/usr/lib64 -lxml2 -L/usr/lib64 -ldl -L/usr/l$
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/set-mode-acl.o .libs/copy-acl.o .libs/file-has-acl.o .libs/areadlink.o .libs/gl_array_list.o .libs/backupfile.o .$
/usr/bin: file not recognized: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [libgettextlib.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/gnulib-lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools/gnulib-lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1/gettext-tools'
make: *** [all-recursive] Error 1
emake failed
^[[31;01m*^[[0m ERROR: sys-devel/gettext-0.18.1.1-r1 failed (compile phase):
^[[31;01m*^[[0m emake failed
^[[31;01m*^[[0m
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 56: Called src_compile
^[[31;01m*^[[0m environment, line 2959: Called _eapi2_src_compile
^[[31;01m*^[[0m ebuild.sh, line 669: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m emake || die "emake failed"
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =sys-devel/gettext-0.18.1.1-r1',
^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =sys-devel/gettext-0.18.1.1-r1'.
^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/temp/build.log'.
^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/temp/environment'.
^[[31;01m*^[[0m S: '/var/tmp/portage/sys-devel/gettext-0.18.1.1-r1/work/gettext-0.18.1.1'
|
I tried googling it and didnt get a whole lot back. Now im asking you guys. |
Excuse me, i know the thread is old, but i recently got this error while doing a stage1 install..
and posting the solution for future referenses
-
In the chroot enviroment just issue the following
and youre good to go. |
|
| Back to top |
|
 |
Simba7 l33t


Joined: 22 Jan 2007 Posts: 637 Location: Billings, MT, USA
|
Posted: Thu May 24, 2012 8:35 pm Post subject: |
|
|
*bump*
This seems to work alright. I've been having issues with GCC 4.6 so I masked it until further notice. _________________ Router(PE1750,4GB RAM,3x36GB HDDs,2xIntel Pro/1000+GT Quad Port) | MyDT(PhmIIx3 720@3.3GHz,8GB RAM,500GB+1.5TB+2TB HDDs,GFGTS250,LG BD-RE,Win7)
MyLT(Asus G53SX,32GB RAM,2x750GB HDDs,BD-RE,Intel 6230,Win7) | Wife(A64@2GHz,2GB RAM,120GB HDD,DVD/CD-RW,Win7) |
|
| Back to top |
|
 |
Simba7 l33t


Joined: 22 Jan 2007 Posts: 637 Location: Billings, MT, USA
|
Posted: Sat Oct 13, 2012 4:29 pm Post subject: |
|
|
*BuMp*
Still working great. Added a few more tweaks and removed the gcc 4.6 limitation. It seems to be compiling fine if you use -march=native on Pentium3 and other processors. _________________ Router(PE1750,4GB RAM,3x36GB HDDs,2xIntel Pro/1000+GT Quad Port) | MyDT(PhmIIx3 720@3.3GHz,8GB RAM,500GB+1.5TB+2TB HDDs,GFGTS250,LG BD-RE,Win7)
MyLT(Asus G53SX,32GB RAM,2x750GB HDDs,BD-RE,Intel 6230,Win7) | Wife(A64@2GHz,2GB RAM,120GB HDD,DVD/CD-RW,Win7) |
|
| Back to top |
|
 |
MustrumR n00b

Joined: 15 Nov 2011 Posts: 35 Location: Right here
|
Posted: Sun Oct 14, 2012 8:23 am Post subject: |
|
|
There is an even better way to install gentoo than stage1 - from a working install (like a LiveDVD).
1. Make partitions and mount the root at /mnt/gentoo
2. Download and extract portage at /mnt/gentoo
3. ln -s ../../portage/profiles/(profile name) /mnt/gentoo/etc/portage/make.profile
4. Write /mnt/gentoo/etc/portage/make.conf
5. PORTDIR=/mnt/gentoo/usr/portage PORTAGE_CONFIGROOT=/mnt/gentoo emerge --sync
5. PORTDIR=/mnt/gentoo/usr/portage PORTAGE_CONFIGROOT=/mnt/gentoo emerge -u gcc # so you get the new gcc
6. gcc-config ... # to start using the new gcc
7. PORTDIR=/mnt/gentoo/usr/portage PORTAGE_CONFIGROOT=/mnt/gentoo ROOT=/mnt/gentoo emerge system
8. chroot and continue from step 7 of the handbook |
|
| Back to top |
|
 |
yoshi314 l33t


Joined: 30 Dec 2004 Posts: 796 Location: PL
|
Posted: Thu Oct 18, 2012 6:05 am Post subject: |
|
|
what if you were to use a prefix bootstrap script, then chroot into that system and switch its profile to non-prefix one, and update everything ?
do you think that might work? _________________ ~amd64, ~x86
shrink your /usr/portage with squashfs+aufs |
|
| Back to top |
|
 |
Simba7 l33t


Joined: 22 Jan 2007 Posts: 637 Location: Billings, MT, USA
|
Posted: Thu Oct 18, 2012 6:10 am Post subject: |
|
|
| yoshi314 wrote: | | what if you were to use a prefix bootstrap script, then chroot into that system and switch its profile to non-prefix one, and update everything ? |
Not sure. You'd be compiling on the environment of your boot CD, though. I'd rather chroot, then bootstrap.
That's why I prefer the SRCD. You can utilize the latest kernels instead of the older ones. This has some benefits along with support for newer devices.
MustrumR: That won't work with other architectures (ex. Utilizing a i486 package on a i586/i686 system). I've tried that and some programs throw a fit if you don't recompile binutils and glibc. That's why I put that there. Not to mention, the standard package is built with x86, not ~x86. This builds a ~x86 from the ground up so you have the latest packages. _________________ Router(PE1750,4GB RAM,3x36GB HDDs,2xIntel Pro/1000+GT Quad Port) | MyDT(PhmIIx3 720@3.3GHz,8GB RAM,500GB+1.5TB+2TB HDDs,GFGTS250,LG BD-RE,Win7)
MyLT(Asus G53SX,32GB RAM,2x750GB HDDs,BD-RE,Intel 6230,Win7) | Wife(A64@2GHz,2GB RAM,120GB HDD,DVD/CD-RW,Win7) |
|
| Back to top |
|
 |
Simba7 l33t


Joined: 22 Jan 2007 Posts: 637 Location: Billings, MT, USA
|
Posted: Wed Apr 10, 2013 5:21 am Post subject: |
|
|
Well, it's been awhile since I updated this.
I'm a bit curious on why they integrated linux-headers along with gentoo-sources into the latest stage3. Seems a bit bloated and unnecessary to me.. but oh well. _________________ Router(PE1750,4GB RAM,3x36GB HDDs,2xIntel Pro/1000+GT Quad Port) | MyDT(PhmIIx3 720@3.3GHz,8GB RAM,500GB+1.5TB+2TB HDDs,GFGTS250,LG BD-RE,Win7)
MyLT(Asus G53SX,32GB RAM,2x750GB HDDs,BD-RE,Intel 6230,Win7) | Wife(A64@2GHz,2GB RAM,120GB HDD,DVD/CD-RW,Win7) |
|
| Back to top |
|
 |
|
|
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
|
|