I am trying to install apache and php to MCE 1.1

Ask questions about Gentoox MCE here!
Post Reply
crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

I am trying to install apache and php to MCE 1.1

Post by crow » Wed Feb 09, 2005 7:36 pm

Ok after clean install MCE 1.1 on G partition, i go for install apache as i only miss that to have all working for me.
they sey i need to first "emerge --sync" so i did as root that. Here is finishing line off all things that are working for 5h:
xfce-extra/xfwm4-themes/metadata.xml
157 100% 0.00kB/s 0:00:00
xfce-extra/xfwm4-themes/xfwm4-themes-4.0.6.ebuild
749 100% 0.00kB/s 0:00:00
xfce-extra/xfwm4-themes/xfwm4-themes-4.2.0.ebuild
399 100% 0.00kB/s 0:00:00
deleting app-emulation/vmware-workstation/vmware-workstation-4.5.2.8848-r2.ebuild
deleting app-emulation/vmware-workstation/vmware-workstation-3.2.1.2242-r2.ebuild
deleting app-emulation/vmware-workstation/files/digest-vmware-workstation-4.5.2.8848-r2
deleting app-emulation/vmware-workstation/files/digest-vmware-workstation-3.2.1.2242-r2
deleting app-emulation/emul-linux-x86-qtlibs/files/digest-emul-linux-x86-qtlibs-1.0
deleting app-emulation/emul-linux-x86-qtlibs/emul-linux-x86-qtlibs-1.0.ebuild
deleting app-text/build-docbook-catalog/files/digest-build-docbook-catalog-1.1
deleting app-text/build-docbook-catalog/build-docbook-catalog-1.1.ebuild
deleting dev-dotnet/nemerle/nemerle-0.2.1.ebuild
deleting dev-dotnet/nemerle/nemerle-0.1.4.ebuild
deleting dev-dotnet/nemerle/files/digest-nemerle-0.2.1
deleting dev-dotnet/nemerle/files/digest-nemerle-0.1.4
deleting dev-lisp/cl-sql/files/digest-cl-sql-2.10.14
deleting dev-lisp/cl-sql/files/digest-cl-sql-1.8.8
deleting dev-lisp/cl-sql/files/2.10.14-no-shared-object-asdf-gentoo.patch
deleting dev-lisp/cl-sql/files/1.8.8-no-shared-object-asdf-gentoo.patch
deleting dev-lisp/cl-sql/cl-sql-2.10.14.ebuild
deleting dev-lisp/cl-sql/cl-sql-1.8.8.ebuild
deleting dev-util/subversion/subversion-1.1.2-r1.ebuild
deleting dev-util/subversion/files/digest-subversion-1.1.2-r1
deleting dev-util/monodevelop/monodevelop-0.5.ebuild
deleting dev-util/monodevelop/monodevelop-0.5.1.ebuild
deleting dev-util/monodevelop/files/monodevelop-0.5-compat.diff
deleting dev-util/monodevelop/files/digest-monodevelop-0.5.1
deleting dev-util/monodevelop/files/digest-monodevelop-0.5
deleting games-arcade/briquolo/files/digest-briquolo-0.5
deleting games-arcade/briquolo/briquolo-0.5.ebuild
deleting games-strategy/uqm/uqm-0.3.ebuild
deleting games-strategy/uqm/uqm-0.3-r1.ebuild
deleting games-strategy/uqm/files/digest-uqm-0.3-r1
deleting games-strategy/uqm/files/digest-uqm-0.3
deleting media-video/nvidia-glx/nvidia-glx-1.0.6629-r4.ebuild
deleting media-video/nvidia-glx/files/libGL.la-r1
deleting media-video/nvidia-glx/files/digest-nvidia-glx-1.0.6629-r4
deleting metadata/cache/www-servers/thttpd-2.25
deleting metadata/cache/sys-apps/iproute2-2.6.9.20041019-r1
deleting metadata/cache/sys-apps/iproute2-2.6.9.20040831
deleting metadata/cache/sys-apps/iproute2-2.6.10.20050112
deleting metadata/cache/net-analyzer/linkchecker-1.12.0
deleting metadata/cache/dev-util/monodevelop-0.5.1
deleting metadata/cache/dev-util/monodevelop-0.5
deleting metadata/cache/app-text/build-docbook-catalog-1.1
deleting metadata/cache/app-emulation/vmware-workstation-4.5.2.8848-r2
deleting metadata/cache/app-emulation/vmware-workstation-3.2.1.2242-r2
deleting metadata/cache/app-emulation/emul-linux-x86-qtlibs-1.0
deleting net-analyzer/linkchecker/linkchecker-1.12.0.ebuild
deleting net-analyzer/linkchecker/files/digest-linkchecker-1.12.0
deleting profiles/default-x86-1.4/2004.3
300 files....
Number of files: 110409
Number of files transferred: 5354
Total file size: 86010118 bytes
Total transferred file size: 5659569 bytes
Literal data: 5659569 bytes
Matched data: 0 bytes
File list size: 2472758
Total bytes written: 107265
Total bytes read: 8373835

wrote 107265 bytes read 8373835 bytes 3002.69 bytes/sec
total size is 86010118 speedup is 10.14

>>> Updating Portage cache... ...done!



Performing Global Updates: /usr/portage/profiles/updates/3Q-2002
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
........................................................................................


Performing Global Updates: /usr/portage/profiles/updates/4Q-2002
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
................................................................................


Performing Global Updates: /usr/portage/profiles/updates/1Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
..........................


Performing Global Updates: /usr/portage/profiles/updates/2Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
..................................................................................................


Performing Global Updates: /usr/portage/profiles/updates/3Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'



Performing Global Updates: /usr/portage/profiles/updates/4Q-2004
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
...........


Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
(Could take a couple minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move'
..@.............................................................


!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)



* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.

root@MediaCenter #


I dont know to which profile i need to make that symlink. I am trying all :))
MediaCenter etc # ln -s /etc/make.profile /usr/portage/profiles/default-linux/x86/2004.3
MediaCenter etc # emerge mod_php mod_ssl mod_perl php perl


!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

MediaCenter etc #


What i am missing here ppl i need your help, this is my first install of gentoox completly before i only install gentoox and stop there.
Thnx to all
Last edited by crow on Thu Feb 10, 2005 4:25 pm, edited 1 time in total.
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Thu Feb 10, 2005 12:27 am

Code: Select all

rm -rf /etc/make.profile
ln -s /etc/make.profile /usr/portage/profiles/default-linux/x86/2004.0


Give that a try.
The original Xbox adaptation of Gentoo

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Thu Feb 10, 2005 8:59 am

ShALLaX wrote:

Code: Select all

rm -rf /etc/make.profile
ln -s /etc/make.profile /usr/portage/profiles/default-linux/x86/2004.0


Give that a try.


I give :)

root@MediaCenter # rm -rf /etc/make.profile
root@MediaCenter # ln -s /etc/make.profile /usr/portage/profiles/default-linux/x86/2004.0
root@MediaCenter # emerge mod_php mod_ssl mod_perl php perl

!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

root@MediaCenter #


I dont know what i am doing wrong, is my "emerge --sync" wrong or. It take about 5h and its long :)) hope i will not need to do this again.

Here is ls of that folder that you SHallax post:
root@MediaCenter # ls /usr/portage/profiles/default-linux/x86/2004.0
make.defaults make.profile packages parent
root@MediaCenter #
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Thu Feb 10, 2005 9:22 am

Actualy its syntax of symlink command that is wrong :)))

Code: Select all

ln -s /usr/portage/profiles/default-linux/x86/xbox/ /etc/make.profile

But where to link that /etc.make.profile what is default symlink on MCE ...


root@MediaCenter etc # ln -s /usr/portage/profiles/default-linux/x86/2004. /etc/make.profile
2004.0 2004.2 2004.3
root@MediaCenter etc # ln -s /usr/portage/profiles/default-linux/x86/2004.0 /etc/make.profile
root@MediaCenter etc # emerge mod_php mod_ssl mod_perl php perl !!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
root@MediaCenter etc #


Now other problems, and that solution i dont like :))) i hope i will not need to make "emerge --sync" again on this shiti dial-up connection.

Thnx to all
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

User avatar
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX » Thu Feb 10, 2005 10:47 am

Yeah, sorry.. It was late and I just copied your response

Code: Select all

rm -rf /etc/make.profile
ln -sf /usr/portage/profiles/default-linux/x86/2004.0 /etc/make.profile
rm -rf /usr/portage/*
emerge sync
The original Xbox adaptation of Gentoo

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Thu Feb 10, 2005 12:31 pm

ShALLaX wrote:Yeah, sorry.. It was late and I just copied your response

Code: Select all

rm -rf /etc/make.profile
ln -sf /usr/portage/profiles/default-linux/x86/2004.0 /etc/make.profile
rm -rf /usr/portage/*
emerge sync


Ok :)),
Now i see that del all sync before and that i need sync do again :(( (i am on dial-up). Could i download portage manual and install and use it.
I download portage-20050207.tar.bz2 18mb. can i unpack them to portage directory that you put above?
like:

Code: Select all

tar xvjf /path/to/portage-20050207.tar.bz2 -C /usr/portage/profiles/default-linux/x86/2004.0/

and then "emerge metadata" and then finaly to emerge apache php etc...
Or how to install manual that porage and use it, doesnt matther how long it will take only that i dont be on Internet with shity connection.

Thnx[/quote][/code]
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Thu Feb 10, 2005 4:42 pm

Ok i do this:

Code: Select all

tar xvjf portage-20050207.tar.bz2 -C /usr/

as this file is already in portage directory. After that i do
root@MediaCenter # emerge metadata
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)
root@MediaCenter # rm -Rr /usr/portage/profiles
root@MediaCenter # emerge metadata
skipping sync

>>> Updating Portage cache... ...done!


* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.


Now whatever i try i get /etc/make.profile not good...
root@MediaCenter # emerge -u portage
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

root@MediaCenter #


This mybe wrong what i am doing, but i cant be more then 1h on internet because my connection die, so sync die to and all over again.

Thnx[/code]
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Fri Feb 11, 2005 8:21 am

Your problem now is that you have deleted your portage profiles. Do an emerge sync again. It won't take very long this time as you have most of the files there already. When that is finished you might have to recreate your profiles symlink.

Code: Select all

rm -rf /etc/make.profile 
ln -sf /usr/portage/profiles/default-linux/x86/2004.3 /etc/make.profile
If you keep an open mind, will your brain fall out?

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Sat Feb 12, 2005 8:57 am

Ok i finaly menaged to install snapshot.
BUt i am confused to which profile need to link /etc/make.profile
SHallax sey one, you sey other what is right profile.

THnx
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Sat Feb 12, 2005 9:50 pm

I use 2004.3 (the newest) I'm sure Shallax has a reason for using 2004.0
If you keep an open mind, will your brain fall out?

crow
Novice
Posts: 32
Joined: Sun Jan 30, 2005 10:35 am
Contact:

Post by crow » Sun Feb 13, 2005 9:55 am

Ok thnx :),
Here is what i did to get snapshot working:
Download latest snapshot and unpack to /usr/ dir

Code: Select all

tar xvjf /path/to/portage-20050207.tar.bz2 -C /usr/

remove the symlink:

Code: Select all

rm -rf /etc/make.profile

Link /etc/make.profile to other location

Code: Select all

ln -sf /usr/portage/profiles/default-linux-2004.0 /etc/make.profile


Emerge it:

Code: Select all

 emerge -va portage

Link symlink to right probile,i also start using "newest"

Code: Select all

 ln -sf /usr/portage/profiles/default-linux/x86/2004.3 /etc/make.profile



Try to emerge something :PP in my casse:

Code: Select all

emerge mod_php

I also add apache2 to /etc/portage/packages.mask so it wont be emerge
put this in packages.mask

Code: Select all

>=net-www/apache-2


Hope this will help someone that have situation like mine.
Thnx Shallax for MCE and porting Gentoo to xbox :P
XBoX Crystal Edition rev 1.4
Smartxx v2 Helloween Edition : Smartxx OS 3331
HDD 160Gb ST3160023A Seagate
DVD ROM PHILIPS J5 3235C
Gentoox MCE 1.1

www.chat.ba BosniaAndHerzegovina Chat Portal

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest