Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting portage running under Solaris 9 (Portaris!)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Thu Dec 09, 2004 1:49 pm    Post subject: Reply with quote

I did as you told me - but I had to remerge libXft from source (which worked perfectly) for, for example gtk, to find Xft.
Thanks alot!
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Dec 10, 2004 6:12 pm    Post subject: Reply with quote

Quote:
I did as you told me - but I had to remerge libXft from source

I wonder why?

but this does mean that the current portage install can be used to distribute binary packages on solaris as well... :D
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Sat Dec 11, 2004 8:51 am    Post subject: Reply with quote

Still there are some problems calculating dependencies because of "virtual/fam" problems for some packages, such as kde, xine-lib or qt
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Sat Dec 11, 2004 5:20 pm    Post subject: Reply with quote

please post the output.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Sat Dec 11, 2004 8:40 pm    Post subject: Reply with quote

Code:
# emerge -p kde

These are the packages that I would merge, in order:

Calculating dependencies \
emerge: there are no ebuilds to satisfy "virtual/fam".

#
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Sun Dec 12, 2004 8:59 am    Post subject: Reply with quote

put this line in your /etc/make.profile/virtuals
Code:
virtual/fam app-admin/fam
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Sun Dec 12, 2004 11:56 am    Post subject: Reply with quote

Great - it works!
Thanks alot devsk! :D
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Mon Dec 20, 2004 12:24 pm    Post subject: Reply with quote

I've updated my system to Solaris 10 11/04 - but trying to install portage just brings along a lot of errors:

http://scifi.pages.at/syberdoor/portage-emerge.log

do you know what's wrong?[/url]
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Mon Dec 20, 2004 5:02 pm    Post subject: Reply with quote

the gcc packaged in the tar is for solaris 9. It will not compile packages on solaris 10 because the headers are changed. you will have to wait till I release portage for solaris 10.

For now, a workaround could be that you build your own gcc in, let's say, /opt/gcc and put that path ahead of everybody in the PATH var in the install script that you invoked.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Mon Dec 20, 2004 9:26 pm    Post subject: Reply with quote

I have a Solaris10 version of gcc from sunfreeware.com in /usr/local

So I've added /usr/local/bin to PATH and /usr/local/lib to LD_LIBRARY_PATH in the skript but these var aren't set during the installation...


Last edited by Gecklord on Tue Dec 21, 2004 8:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Tue Dec 21, 2004 8:49 am    Post subject: Reply with quote

The variables are set but I doesn't work that way :(

UPDATE: I remade the headers for the sunfreeware build => it works!
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Wed Dec 22, 2004 6:46 am    Post subject: Reply with quote

this solution causes porblems compiling gawk, perl, db, gdbm, python, gcc, binutils, etc. - unfortunately
other progs compile without complaining
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Dec 22, 2004 7:48 am    Post subject: Reply with quote

did you remeber to rename programs like gcc/g++ in /opt/portage/usr/bin?


also, you have to make sure /usr/local doesn't have anything other gcc installed there, which might potentially clash with other things from /opt/portage.

last thing: open /usr/lib/portage/bin/ebuild.sh and update PATH var there as well.

I wish I could help you more with sol 10, but ain't got one, so can't really help much...
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Wed Dec 22, 2004 3:22 pm    Post subject: Reply with quote

I did that but it didn't bring any changes :(

Maybe you could tell me how to built a gcc for the tar fitting Solaris10...
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Wed Dec 22, 2004 5:49 pm    Post subject: Reply with quote

Just an idea: Would it be enough to just remake the headers for gcc (the one in the portage tarball) and than tar it again?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Dec 22, 2004 9:01 pm    Post subject: Reply with quote

we have two options:

1. bundle the gcc with the tar and bundle a different tar for the different version of the OS.

2. as part of the install of portage we install gcc/binutils first. This means we require the user to install a compiler before they install portage.

I have done some work on the ebuilds to make sure that they emerge on solaris. If you download the latest tar, you should be able to emerge gcc. see if that helps.

So, start from scratch. Install gcc manually in /usr/local, put your /usr/local ahead of everything (make all required changes discussed before), install latest portage tar, emerge gcc, remove all traces of gcc from /opt/portage and then finally undo all the /usr/local changes. After this, you should have only one gcc install in /usr which portage will use.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Thu Dec 23, 2004 9:41 am    Post subject: Reply with quote

You mean you've changed the portage in this tar: http://dev.gentoo.org/~pvdabeel/solaris9/ ?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Dec 23, 2004 5:57 pm    Post subject: Reply with quote

isn't the timestamp, size and md5 different from what you downloaded last time? if its same, then you don't need to download again.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Thu Dec 23, 2004 10:35 pm    Post subject: Reply with quote

Quote:
remove all traces of gcc from /opt/portage

you mean deleting everything that belongs to gcc? any special hints?
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Fri Dec 24, 2004 10:16 am    Post subject: Reply with quote

I've downloaded the latest tar but trying to emerge gcc quits giving me this error:
Code:
/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/gcc.c: In function `retry_ice':/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/gcc.c:5880: warning: `fd' might be used uninitialized in this function
gcc -c    -mtune=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H   -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/c-semantics.c -o c-semantics.o
make[1]: *** [gcc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1297, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Dec 24, 2004 7:19 pm    Post subject: Reply with quote

I will need few more lines before these lines. I don't see the actual compile error in your post.
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Fri Dec 24, 2004 10:26 pm    Post subject: Reply with quote

Code:
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE -L/opt/portage/usr/lib -o genextract \
        genextract.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \
        errors.o ../libiberty/libiberty.a
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl -c insn-opinit.c \
  -o insn-opinit.o
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl -c insn-output.c \
  -o insn-output.o
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl -c insn-peep.c \
  -o insn-peep.o
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl -c insn-recog.c \
  -o insn-recog.o
/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/gcc.c: In function `retry_ice':/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/gcc.c:5880: warning: `fd' might be used uninitialized in this function
gcc    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -L/opt/portage/usr/lib -o Tcollect2 \
        collect2.o tlink.o intl.o version.o ../libiberty/libiberty.a ../intl/libintl.a /opt/portage/usr/lib/libiconv.so -R/opt/portage/usr/lib -liconv
ld: warning: file /opt/portage/usr/lib/libiconv.so: attempted multiple inclusion of file
ld: warning: global symbol `_GLOBAL_OFFSET_TABLE_' has non-global binding:
        (file /opt/portage/usr/lib/libgcc_s.so.1 value=LOCL);
mv -f Tcollect2 collect2
./gcov-iov > tmp-gcov-iov.h
/bin/sh /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/move-if-change tmp-gcov-iov.h gcov-iov.h
echo timestamp > s-iov
./genattrtab /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/config/sparc/sparc.md > tmp-attrtab.c
./genextract /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/config/sparc/sparc.md > tmp-extract.c
/bin/sh /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/move-if-change tmp-extract.c insn-extract.c
echo timestamp > s-extract
gcc -c    -mcpu=ultrasparc -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -I. -I. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/. -I/var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/../include -I../intl /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/coverage.c -o coverage.o
make[1]: *** [gcc.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Automaton `cypress_0'
        4 NDFA states,             12 NDFA arcs
        4 DFA states,              12 DFA arcs
        4 minimal DFA states,      12 minimal DFA arcs
       84 all insns          4 insn equivalence classes
   13 transition comb vector els,    16 trans table els: use simple vect
   13 state alts comb vector els,    16 state alts table els: use simple vect
   16 min delay table els, compression factor 8

Automaton `cypress_1'
        2 NDFA states,              5 NDFA arcs
        2 DFA states,               5 DFA arcs
        2 minimal DFA states,       5 minimal DFA arcs
       84 all insns          3 insn equivalence classes
    6 transition comb vector els,     6 trans table els: use simple vect
    6 state alts comb vector els,     6 state alts table els: use simple vect
    6 min delay table els, compression factor 8

Automaton `supersparc_0'
       20 NDFA states,             80 NDFA arcs
       20 DFA states,              80 DFA arcs
       16 minimal DFA states,      68 minimal DFA arcs
       84 all insns          6 insn equivalence classes
   76 transition comb vector els,    96 trans table els: use simple vect
   76 state alts comb vector els,    96 state alts table els: use simple vect
   96 min delay table els, compression factor 8

Automaton `supersparc_1'
       11 NDFA states,             26 NDFA arcs
       11 DFA states,              26 DFA arcs
       11 minimal DFA states,      26 minimal DFA arcs
       84 all insns          6 insn equivalence classes
   26 transition comb vector els,    66 trans table els: use comb vect
   26 state alts comb vector els,    66 state alts table els: use comb vect
   66 min delay table els, compression factor 2

Automaton `hypersparc_0'
       16 NDFA states,             64 NDFA arcs
       16 DFA states,              64 DFA arcs
       16 minimal DFA states,      64 minimal DFA arcs
       84 all insns          6 insn equivalence classes
   67 transition comb vector els,    96 trans table els: use simple vect
   67 state alts comb vector els,    96 state alts table els: use simple vect
   96 min delay table els, compression factor 8

Automaton `hypersparc_1'
       16 NDFA states,             36 NDFA arcs
       16 DFA states,              36 DFA arcs
       16 minimal DFA states,      36 minimal DFA arcs
       84 all insns          6 insn equivalence classes
   36 transition comb vector els,    96 trans table els: use comb vect
   36 state alts comb vector els,    96 state alts table els: use comb vect
   96 min delay table els, compression factor 2

Automaton `sparclet'
      228 NDFA states,            620 NDFA arcs
      228 DFA states,             620 DFA arcs
      210 minimal DFA states,     581 minimal DFA arcs
       84 all insns          5 insn equivalence classes
  646 transition comb vector els,  1050 trans table els: use simple vect
  646 state alts comb vector els,  1050 state alts table els: use simple vect
 1050 min delay table els, compression factor 2

Automaton `ultrasparc_0'
       44 NDFA states,            111 NDFA arcs
       44 DFA states,             111 DFA arcs
       43 minimal DFA states,     109 minimal DFA arcs
       84 all insns          5 insn equivalence classes
  120 transition comb vector els,   215 trans table els: use simple vect
  120 state alts comb vector els,   215 state alts table els: use simple vect
  215 min delay table els, compression factor 1

Automaton `ultrasparc_1'
      608 NDFA states,           2482 NDFA arcs
      608 DFA states,            2482 DFA arcs
      116 minimal DFA states,     928 minimal DFA arcs
       84 all insns         16 insn equivalence classes
 1199 transition comb vector els,  1856 trans table els: use simple vect
 1199 state alts comb vector els,  1856 state alts table els: use simple vect
 1856 min delay table els, compression factor 4

Automaton `ultrasparc3_0'
      112 NDFA states,            380 NDFA arcs
      112 DFA states,             380 DFA arcs
      112 minimal DFA states,     380 minimal DFA arcs
       84 all insns          9 insn equivalence classes
  454 transition comb vector els,  1008 trans table els: use simple vect
  454 state alts comb vector els,  1008 state alts table els: use simple vect
 1008 min delay table els, compression factor 1

Automaton `ultrasparc3_1'
      237 NDFA states,            944 NDFA arcs
      237 DFA states,             944 DFA arcs
      171 minimal DFA states,     812 minimal DFA arcs
       84 all insns         11 insn equivalence classes
  969 transition comb vector els,  1881 trans table els: use simple vect
  969 state alts comb vector els,  1881 state alts table els: use simple vect
 1881 min delay table els, compression factor 1

 1517 all allocated states,      3385 all allocated arcs
 4409 all allocated alternative states
 3612 all transition comb vector els,  6386 all trans table els
 3612 all state alts comb vector els,  6386 all state alts table els
 6386 all min delay table els
    0 locked states num

  transformation: 0.013116, building DFA: 1.014274
  DFA minimization: 0.031931, making insn equivalence: 0.002915
 all automaton generation: 1.107299, output: 0.215220
/bin/sh /var/tmp/portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/move-if-change tmp-attrtab.c insn-attrtab.c
make[1]: *** Waiting for unfinished jobs....
echo timestamp > s-attrtab
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [all-gcc] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1297, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

#
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Dec 24, 2004 10:44 pm    Post subject: Reply with quote

I still don't see compile commandline for gcc.c.

are you doing parallel make? what is MAKEOPTS set to in /etc/make.conf
Back to top
View user's profile Send private message
Gecklord
Apprentice
Apprentice


Joined: 17 Mar 2004
Posts: 174

PostPosted: Sat Dec 25, 2004 9:14 am    Post subject: Reply with quote

Code:
MAKEOPTS="-j5"
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Sat Dec 25, 2004 6:15 pm    Post subject: Reply with quote

comment that out and rerun. then post any errors, with few lines before where the error occurs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 11, 12, 13  Next
Page 8 of 13

 
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