View previous topic :: View next topic |
Author |
Message |
Gecklord Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 Mar 2004 Posts: 174
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Johno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 26 Oct 2004 Posts: 13
|
Posted: Fri Jan 07, 2005 9:14 am Post subject: |
|
|
devsk wrote: | if you have other gentoo boxes on the network, then you can setup one of them as the rsync server for your solaris boxes and setup SYNC variable to point to that.
actually, webrsync should work. are you able to do wget of the solaris tar link posted above. |
Yeh I did a wget with no problems at all. From my previous post it just seems to be having some issues getting this md5sum. I have no idea how to set up an rsync server so I will have to look at that as an option. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Fri Jan 07, 2005 9:32 pm Post subject: |
|
|
the rsync setup is quite easy. on gentoo box, change /etc/rsyncd.conf with this:
Code: | [portage]
path = /usr/portage
comment = The portage sync tree |
then do a : Code: | /etc/init.d/rsyncd start |
on solaris box: Code: | export SYNC=rsync://<gentoo_server_name>/portage |
then just start the script. make sure the snapshot on the gentoo box is new enough i.e. have done a "emerge sync" on gentoo box recently sometime. And you shouldn't set the env var RSYNC_PROXY anymore. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Fri Jan 07, 2005 9:35 pm Post subject: |
|
|
can't do much for sol10 right now...![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Johno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 26 Oct 2004 Posts: 13
|
Posted: Mon Jan 10, 2005 4:29 pm Post subject: |
|
|
Thanks for you help guys I got portage working on the Solaris server by running an rsync server off one of our Gentoo boxes.
The script installed everthing beautifully so big respect to the author.
Now I just have a problem with the $PATH variable. The $PATH is set fine (ie lots of directorys with my apps in) for normal users but when I login as root it changes to /usr/sbin:/usr/bin: only! I have been through the usual config files where the $PATH is set but can't find anything. Do you have any ideas what would cause this? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Wed Jan 12, 2005 2:37 am Post subject: |
|
|
that could happen if there is .*rc or .profile file in root's home which sets PATH. /etc/profile is modified by the install script to include /etc/profile.env and /etc/profile should should set the PATH correctly.
what shell does the root use? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Johno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 26 Oct 2004 Posts: 13
|
Posted: Wed Jan 12, 2005 9:16 am Post subject: |
|
|
My regular user account uses Bash and so does the root. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Johno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 26 Oct 2004 Posts: 13
|
Posted: Wed Jan 12, 2005 9:37 am Post subject: |
|
|
I found that $HOME/.profile was doing this:
Code: | PATH=/usr/bin:/usr/ucb:/etc:. |
Which matches up with the path variable that is set. So I removed this line and rebooted but my PATH is still being set to it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Wed Jan 12, 2005 7:32 pm Post subject: |
|
|
how about $HOME/.bash_profile and $HOME/.bashrc? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Johno n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/HalfLife/Half_Life_-_Gordon_Freeman2.gif)
Joined: 26 Oct 2004 Posts: 13
|
Posted: Thu Jan 13, 2005 9:03 am Post subject: |
|
|
Don't have either only .bash_history in $HOME |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Thu Jan 13, 2005 5:40 pm Post subject: |
|
|
bash reads these files in order: /etc/profile, ~/.bash_profile, ~/.bash_login, ~/.profile and ~/.bashrc
look at every file that these files refer. if the PATH is set somewhere then its these files. there is no magic. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dushkin Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/1463380243421fb97bef0b7.jpg)
Joined: 29 Apr 2004 Posts: 94 Location: Your network
|
Posted: Sun Jan 23, 2005 6:36 pm Post subject: |
|
|
They (Sun) say that Sol10 should have better Linux compatibility "everything just a compile away!" kind of thing.
It's probably far from true, but don't you think that maybe you should try it on sol10?
EDIT: I meant "They (Sun)" not "They (Solaris)" _________________ http://www.dushkin.org/ - Think different! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gecklord Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 17 Mar 2004 Posts: 174
|
Posted: Mon Jan 24, 2005 10:39 am Post subject: |
|
|
Portaris does not really work on Sol10/sparc (yet)!
Linux compatibility is mainly implemented for the x86 version of Sol10. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eugenesan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2003 Posts: 1 Location: Israel
|
Posted: Fri Mar 25, 2005 8:14 am Post subject: |
|
|
Hi all,
Is Portaris development stoped or just moved to another place?
Anyone maybe still working on subject?
I would like to take a part. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stonent Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/63557126942742b7540725.jpg)
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Fri Mar 25, 2005 8:34 am Post subject: |
|
|
I haven't done really anything recently. Devsk was doing most of the work. I couldn't keep up with him. He turned out to be a lot better at it than I ever was. We're both in the OpenSolaris pilot and OpenSolaris is going to be an official Gentoo supported platform once it is allowed out of the pilot group.
A lot of stuff in the Solaris source is licensed and cannot be given away for free, pilot members have access to some stuff that won't be available publicly. (You need access to Sun's compiler to build some things at the moment)
Right now, I've been sort of sitting back and reading the mailing list. My job situation has changed (rather job hunting again). I no longer have a company provided top-of-the-line laptop that I was using for running Solaris 10. I burned out the cpu in my fastest desktop system due to a poor quality heatsink and have no money to replace it, and a lot of old stuff I had is being thrown out to regain space in my limited bedroom.
Once my financial situation improves, (and credit) I'll be buying something decently fast (at least 2.8ghz) that I can use for Solaris and/or OpenSolaris work. _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Mon Mar 28, 2005 11:26 pm Post subject: |
|
|
nothing much happening here. the tar(link on page 6) is available for people to test and report problems, should work on both sol9 and 10. the systems used for portage on solaris are currently down, so no new development at this time. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vestec n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/411794675425ceeb57d228.jpg)
Joined: 08 Apr 2005 Posts: 24 Location: Central Europe
|
Posted: Fri Apr 08, 2005 11:23 am Post subject: The utils have given the error messages. |
|
|
The installation of portage on solaris10 almost successfully done. But almost: the utils have given the error messages.
Can anybody help to "overcome it" ?
Regards
Quote: |
bash-3.00# ./install-sparc.sh
Following changes are being made to your system:
/bin/mktemp, /bin/sh, /bin/bash, /usr/bin/rsync,
/usr/bin/wget, /usr/bin/python changed.
originals moved to file with .ORG extension.
wheel and portage groups are created.
portage user is created.
render extension and xft headers and libs will be overwritten.
Packages that may already exist and will be overwritten if old:
bison, gawk (which includes awk exe), db, gdbm, texinfo,
perl, python, freetype, fontconfig, bzip2
These upgrades have been found to be non-harmful to the functioning of
the system during our testing.
Do you agree to these changes? Enter yes or no, lower case...
yes
NOTE: DONOT 'emerge sync' this beta version. You can re-install
as many times as you want, essentially getting the portage tree
sync every time. But an 'emerge sync' will not have some changes
rolled into this beta until they are checked into the main portage
tree. And hence 'emerge sync' will break the install.
Proceeding with the installation...
Checking for minimal packages...
...done
Untarring the gnu tools into /opt/portage...
...done
Creating portage directories...
...done
Creating wheel group...
...done
Creating portage group...
...done
Creating portage user...
...done
Installing bootstrap portage...
...done
Updating the environment...
...done
Sync can take a long time(upto an hour on a slow machine) to finish.
Don't disrupt this process. Log watch /tmp/portage/emerge-sync.log.
Go get a cup of coffee...
Syncing the portage tree...
...done
Patching the install for known problems...
...done
Now I will install some basic packages before installing portage.
This will make sure that you have a basic install setup properly
for portage to work correctly.
This can take a very long time. Another cup of coffee...
Log watch /tmp/portage/portage-emerge.log
Now emerging gnuconfig...
Emerge error for gnuconfig.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging bison...
Emerge error for bison.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging binutils...
Emerge error for binutils.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging gcc...
Emerge error for binutils & gcc.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging gawk...
Emerge error for gawk.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging berkdb pkgs...
Emerge error for berkdb db/gdbm.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging ccache...
Emerge error for ccache.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging texinfo...
Emerge error for texinfo.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging perl...
Emerge error for perl.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging python...
Emerge error for python.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging gentoolkit...
Now emerging GNU makefile tools...
Emerge error for GNU makefile tools.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging the portage itself...
Now emerging bzip2...
Emerge error for bzip2.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging libXft...
Done with installing portage.
Make sure you update CFLAGS, CHOST and ARCH is set to "sun".
Please have a look at /etc/make.conf & /etc/make.profile/make.defaults.
New logins will now have /opt/portage/usr/bin in PATH ahead of /usr/bin.
Modify /etc/profile if you want to include /opt/portage/usr/bin in
the PATH manually yourself.
bash-3.00#
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Fri Apr 08, 2005 4:44 pm Post subject: |
|
|
pm me the portage-emerge.log...if you can put it somewhere and point me there, that would be better. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vestec n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/411794675425ceeb57d228.jpg)
Joined: 08 Apr 2005 Posts: 24 Location: Central Europe
|
Posted: Mon Apr 11, 2005 7:50 am Post subject: i have reinstalled the portage with the same results |
|
|
Here is the log:
http://www.truni.sk/portage-emerge.log
Thank you for your interest.
Dusan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Tue Apr 12, 2005 5:38 pm Post subject: |
|
|
gcc's fixincludes script didn't run properly. Can you try to run it manually?
cd /usr/libexec/gcc/sparc-sun-solaris2.9/3.4*/install-tools
./fixinc.sh
after this try 'emerge -O gcc-config'. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vestec n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/411794675425ceeb57d228.jpg)
Joined: 08 Apr 2005 Posts: 24 Location: Central Europe
|
Posted: Wed Apr 13, 2005 6:49 am Post subject: still trying |
|
|
Quote: | bash-3.00# cd /usr/libexec/gcc/sparc-sun-solaris2.9/3.4*/install-tools
bash: cd: /usr/libexec/gcc/sparc-sun-solaris2.9/3.4*/install-tools: No such file or directory |
I am using Solaris10, so it is in different path:
Quote: | bash-3.00# find / -name fixinc.sh
/usr/sfw/libexec/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/fixinc.sh
/opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/install-tools/fixinc.sh |
So I have tried to run it, but unfortunately with no success:
Quote: | bash-3.00# ./fixinc.sh
fixincludes: no output directory specified |
The same with the utility for solaris9:
Quote: | bash-3.00# cd /opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/install-tools
bash-3.00# ./fixinc.sh
fixincludes: no output directory specified |
I have tried the emerge with a last hope , but to no avail.
Quote: | bash-3.00# emerge -O gcc-config
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-config-1.3.10-r1 to /
>>> Unpacking source...
>>> Source unpacked.
In file included from /usr/include/sys/wait.h:24,
from /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c:17:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:398: error: conflicting types for '__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of '__fault' was here
/usr/include/sys/siginfo.h:404: error: conflicting types for '__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of '__file' was here/usr/include/sys/siginfo.h:420: error: conflicting types for '__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of '__prof'
was here/usr/include/sys/siginfo.h:424: error: conflicting types for '__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of '__rctl'
was here/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c:17:
/opt/portage/usr/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/sys/signal.h:96: error: parse error before "siginfo_t"
In file included from /usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c:17:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
/usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c: In function `main':
/usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c:339: warning: implicit declaration of function `alloca'
!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
!!! Function src_compile, Line 25, Exitcode 1
!!! compile wrapper
!!! If you need support, post the topmost build error, NOT this status message.
|
As one can see in
Link
Steve Skaar writes:
Quote: | The mentioned script, fixinc.svr4, which we are told to run as superuser,
contains no instructions as to usage. Without doubt, one should examine
scripts before executing them, but if one is stupid and types:
./fixinc.svr4
the message "fixincludes: no output directory specified" appears. A fairly
natural reaction to this diagnostic is to pursue the issue with:
./fixinc.svr4 /usr/include
But this is a very bad idea. Congratulations! You now have a completely
empty /usr/include directory. |
So it implies to me, that I have to specify some directory, but being not very versed in UNIX scripting, I quite do not understand what the script is intending to do
I am waiting for your reply.
Thanx a lot in advance.
Last edited by Vestec on Wed Apr 13, 2005 9:58 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Wed Apr 13, 2005 5:28 pm Post subject: |
|
|
I am so sorry about this mixup. right way is the following:
Code: | cd /opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/install-tools/
./mkheaders
emerge -O gcc-config
|
although it ultimately does fixinc.sh /opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/include, but its not quite the same thing.
can you please confirm what the install script does(by grepping for fixinc and mkheaders in install-sparc.sh)? I don't have access to the development machine at this time. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vestec n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/411794675425ceeb57d228.jpg)
Joined: 08 Apr 2005 Posts: 24 Location: Central Europe
|
Posted: Fri Apr 15, 2005 7:18 am Post subject: |
|
|
Here is the result of the recommneded steps:
Quote: | bash-3.00# cd /opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/install-tools/
bash-3.00# ls
fixinc.sh fixincl mkheaders
bash-3.00# ./mkheaders
bash-3.00# emerge -O gcc-config
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-config-1.3.10-r1 to /
>>> Unpacking source...
>>> Source unpacked.
/usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c: In function `main':
/usr/portage/sys-devel/gcc-config/files/wrapper-1.4.5.c:339: warning: implicit declaration of function `alloca'
>>> Test phase [not enabled]: sys-devel/gcc-config-1.3.10-r1
>>> Install gcc-config-1.3.10-r1 into /var/tmp/portage/gcc-config-1.3.10-r1/image/ category sys-devel
man:
prepallstrip:
strip:
strip:
usr/lib/misc/gcc-config
>>> Completed installing into /var/tmp/portage/gcc-config-1.3.10-r1/image/
>>> Merging sys-devel/gcc-config-1.3.10-r1 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/gcc-config
--- /usr/lib/
>>> /usr/lib/misc/
>>> /usr/lib/misc/gcc-config
>>> Regenerating /etc/ld.so.cache...
* Caching service dependencies...
/sbin/depscan.sh: line 42: /bin/gawk: No such file or directory
/sbin/depscan.sh: line 49: /bin/gawk: No such file or directory
bash: /var/lib/init.d/depcache: No such file or directory
>>> sys-devel/gcc-config-1.3.10-r1 merged.
>>> Recording sys-devel/gcc-config in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* error scanning /etc
|
There is no fixinc or mkheaders in install-sparc.sh
See for yourself - http://www.truni.sk/install-sparc.sh
Dusan |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devsk Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/gallery/BaldursGate/baldursgate2_minsc.gif)
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Fri Apr 15, 2005 2:29 pm Post subject: |
|
|
so the problem was indeed with fixincludes.
somehow you have the older install script (and it may not be in the tar either, pieter hasn't uploaded the new tar I guess). ok, now can you edit it and insert the above two lines. search for "Sync can take a long time" and insert these lines just above it.
Code: | cd /opt/portage/usr/libexec/gcc/sparc-sun-solaris2.9/3.4.2/install-tools/
./mkheaders |
after that, just re-run the script and post back. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Vestec n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/411794675425ceeb57d228.jpg)
Joined: 08 Apr 2005 Posts: 24 Location: Central Europe
|
Posted: Mon Apr 18, 2005 7:56 am Post subject: progress! (and new questions arised) |
|
|
We are in progress - gcc (together with gnuconfig, ccache, texinfo, gentoolkit, portage, bzip2, libXft) has been emerged.
But unfortunately - remaining utils (bison, binutils, gawk, berkdb, perl, python, makefile)responded with error while emerged.
http://www.truni.sk/portage-emerge.log
Quote: |
Proceeding with the installation...
Checking for minimal packages...
...done
Untarring the gnu tools into /opt/portage...
...done
Creating portage directories...
...done
Creating wheel group...
...done
Creating portage group...
...done
Creating portage user...
...done
Installing bootstrap portage...
...done
Updating the environment...
...done
Sync can take a long time(upto an hour on a slow machine) to finish.
Don't disrupt this process. Log watch /var/portage/emerge-sync.log.
Go get a cup of coffee...
Syncing the portage tree...
...done
Patching the install for known problems...
...done
Now I will install some basic packages before installing portage.
This will make sure that you have a basic install setup properly
for portage to work correctly.
This can take a very long time. Another cup of coffee...
Log watch /var/portage/portage-emerge.log
Now emerging gnuconfig...
Now emerging bison...
Emerge error for bison.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging binutils...
Emerge error for binutils.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging gcc...
Now emerging gawk...
Emerge error for gawk.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging berkdb pkgs...
Emerge error for berkdb db/gdbm.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging ccache...
Now emerging texinfo...
Now emerging perl...
Emerge error for perl.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging python...
Emerge error for python.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging gentoolkit...
Now emerging GNU makefile tools...
Emerge error for GNU makefile tools.
I will continue, you make sure that you report this
error with error log from portage-emerge.log
Now emerging the portage itself...
Now emerging bzip2...
Now emerging libXft...
Done with installing portage.
Make sure you update CFLAGS, CHOST and ARCH is set to "sun".
Please have a look at /etc/make.conf & /etc/make.profile/make.defaults.
New logins will now have /opt/portage/usr/bin in PATH ahead of /usr/bin.
Modify /etc/profile if you want to include /opt/portage/usr/bin in
the PATH manually yourself.
bash-3.00#
|
moreover the installator recommends to Quote: | CFLAGS, CHOST and ARCH is set to "sun". |
I have looked there and found:
Quote: | #CFLAGS="-mcpu=supersparc -O3 -pipe"
#CFLAGS="-mcpu=ultrasparc -O3 -pipe"
#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe"
#CHOST="sparc-sun-solaris2.9" |
So what would be right?
Quote: | CFLAGS="sun"
CHOST="sun"
ARCH="sun" |
?
Guess no
I have the following machine where portaris is intended to dwell
Quote: | bash-3.00# uname -a
SunOS snow 5.10 Generic sun4u sparc SUNW,Sun-Fire-V210 |
In the make.conf for Sparc Host Settings I have:
Quote: | # Sun4u:
# UltraSPARC Sbus based: Ultra1, Ultra2, Ultra1E, Ultra2E, Netra i,
# Enterprise 1, 2, 150, 3000, 3500, 4000, 4500, 5000, 6000, 6500, 10000
#
# UltraSPARC PCI based: SPARCengine CP1400, CP1500
#
# UltraSPARC PCI based: Ultra30, UltraAXe, UltraAXi, UltraAXmp, Ultra5,
# Ultra10, Ultra60, Ultra80, SunBlade 100, SunBlade 1000, Netra X1,
# Netra T series, Enterprise 250, 450
#
# CHOST="sparc-sun-solaris2.9" |
so I would uncomment the last line:
CHOST="sparc-sun-solaris2.9" (even if I run Solaris10 as I have mentioned already).
For Host and optimization settings from make.conf I have:
Quote: | # SPARC CPU types supported in gcc-3.2 and higher:
# v7: cypress
# v8: supersparc, hypersparc
# sparclite: f930, f934, sparclite86x
# sparclet: tsc701
# v9: ultrasparc
# Decent examples:
#
#CFLAGS="-mcpu=supersparc -O3 -pipe"
#CFLAGS="-mcpu=ultrasparc -O3 -pipe"
#CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe" |
so as I have sun4u (ultrasparc) I would uncomment the second line:
CFLAGS="-mcpu=ultrasparc -O3 -pipe".
Are these setting right? And what about the ARCH variable? Should I declare it in make.conf? If so, how?
And - back to the start - how to update install-sparc.sh script to install remaining utils correclty?
Eager to see your comments ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|