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

Joined: 02 Jan 2004 Posts: 8 Location: Oldenzaal, the Netherlands
|
Posted: Thu Dec 30, 2004 8:46 am Post subject: emerge problems (ARCH is not set)(etc.) |
|
|
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 |
|
 |
Mental n00b

Joined: 04 Oct 2004 Posts: 45 Location: Estonia
|
|
Back to top |
|
 |
cma n00b

Joined: 02 Jan 2004 Posts: 8 Location: Oldenzaal, the Netherlands
|
Posted: Thu Dec 30, 2004 7:52 pm Post subject: |
|
|
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 |
|
 |
|