Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge problems (ARCH is not set)(etc.)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
cma
n00b
n00b


Joined: 02 Jan 2004
Posts: 8
Location: Oldenzaal, the Netherlands

PostPosted: Thu Dec 30, 2004 8:46 am    Post subject: emerge problems (ARCH is not set)(etc.) Reply with quote

Hi,
My problem:
I want to update PHP. But my portage was to old.

problem 1:
emerge php (4.3.10)

!!! ERROR: dev-php/php-4.3.3-r2 failed.
!!! Function inherit, Line 1099, Exitcode 1
!!! died sourcing /usr/portage/eclass/php.eclass in inherit()

!!! FAILED prerm: 1


This problem is not fixed yet!


problem 2:
emerge apache (2.0.52)
went ok, beside the php error (as before)
modules were now in different dir but I changed the symbolic link to the modules dir and could restart.
cd /etc/apache2
rm modules (is symbolic link)
ln –s /usr/lib/apache2/modules modules
apache2 –k start

Apache 2.0.52 works now ok.


problem 3:
During the emerge I saw the following message:
!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
default-linux/x86/2004.0


fixed with:
tux root # cd /etc
tux etc # ls make.profile
deprecated packages use.defaults virtuals
make.defaults packages.build use.mask
tux etc # ls -ld make*
-rw-r--r-- 1 root root 6827 May 14 2004 make.conf
-rw-r--r-- 1 root root 14349 May 14 2004 make.conf.example
-rw-r--r-- 1 root root 2669 May 14 2004 make.globals
lrwxrwxrwx 1 root root 39 Jan 1 2004 make.profile -> ../usr/portage/profiles/default-x86-1.4
tux etc # rm make.profile
tux etc # ln -s ../usr/portage/profiles/default-linux/x86/2004.0 make.profile

After that I tried several things like:
emerge portage
wget http://gentoo.internet-bg.net/snapshots/portage-20041025.tar.bz2
tar -xvjf portage-20041025.tar.bz2 -C /usr
rm -Rf /usr/portage/profiles; emerge sync
emerge --regen
emerge sync
enz.

current problem:
every emerge gives now the folling message:
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?


tux etc # ls -l make.profile
lrwxr-xr-x 1 root root 46 Dec 30 09:22 make.profile -> /usr/portage/profiles/default-linux/x86/2004.3

tux etc # cd make.profile

tux make.profile # ls -l
total 12
drwxr-xr-x 2 root root 4096 Dec 2 17:46 2.4
-rw-r--r-- 1 root root 0 Dec 22 14:31 make.defaults
-rw-r--r-- 1 root root 707 Oct 16 23:37 packages
-rw-r--r-- 1 root root 343 Sep 21 22:35 parent

Please? Who can help me to fix this problem?
Regards,
Chungmen Ma
Back to top
View user's profile Send private message
Mental
n00b
n00b


Joined: 04 Oct 2004
Posts: 45
Location: Estonia

PostPosted: Thu Dec 30, 2004 12:21 pm    Post subject: Reply with quote

Did you upgrade your portage before updating your profile?

http://www.gentoo.org/doc/en/gentoo-upgrading.xml says:
Quote:
Warning: Don't forget to upgrade Portage before you change your profile!!!
Back to top
View user's profile Send private message
cma
n00b
n00b


Joined: 02 Jan 2004
Posts: 8
Location: Oldenzaal, the Netherlands

PostPosted: Thu Dec 30, 2004 7:52 pm    Post subject: Reply with quote

Hi,
Thanks for your response.

I am not 100% sure but I think that I first did a new make.profile
(first to 2004.0) and than the update.
After that I did it again to 2004.3.
Because I tried many things I am not sure.
Sorry for that.

Do you have any idea's how to go further from here?

Regards,
Chungmen Ma
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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