LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   preinstall Chapter 33 help (https://www.linuxquestions.org/questions/linux-from-scratch-13/preinstall-chapter-33-help-883537/)

spiky0011 05-30-2011 11:48 AM

preinstall Chapter 33 help
 
A bit of advice plz, I,m at installing Metacity & gedit they both need ORBit2-2.14.19 I got errors when installing GConf. Ok so I looked back at http://www.linuxfromscratch.org/blfs...ll-config.html
I dont intend to use Gnome desktop. Do I need to set this up will it affect other installs. I think that covers it.

druuna 05-31-2011 06:10 AM

Hi,

I did do the Gnome pre-installation configuration (all of it) and I'm not using gnome as desktop. I am using some of the gnome utilities. As you can see in the orbit .configure step GNOME_PREFIX is used, so it has to be set.

Having this gnome framework in place won't hurt, on the contrary. If you decide to install any gnome related stuff in the future you don't have to worry about this any more.

Hope this helps.

spiky0011 05-31-2011 11:56 AM

Thks for reply I kind of figured as much it was the
Code:

export GNOME_PREFIX=/usr
that i was thinking would change the usr, But realiesed it will be an addition to usr

spiky0011 06-04-2011 06:00 AM

While I was setting up Preinstall chapter 33
I have received an error when I run ldconfig
Code:

ldconfig: /usr/lib/libstdc++.so.6.0.14-gdb.py is not an ELF file - it has the wrong magic bytes at the start.
I did'nt create the symlink, I kept things simple /gnome-2.30.2

The commands I did run
Code:

export GNOME_PREFIX=/usr
Code:

export GNOME_PREFIX=/opt/gnome-2.30.2
Code:

export PATH=$PATH:/opt/gnome-2.30.2/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.30.2/lib/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-2.30.2/share/pkgconfig
export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-2.30.2/lib
export PYTHONPATH=$PYTHONPATH:/opt/gnome-2.30.2/lib/python2.6/site-packages

Code:

cat >> /etc/ld.so.conf << "EOF"
# Begin gnome addition to /etc/ld.so.conf

/opt/gnome-2.30.2/lib

# End gnome addition
EOF

Code:

cat >> /etc/man_db.conf << "EOF"
# Begin gnome addition to man_db.conf

MANDATORY_MANPATH /opt/gnome-2.30.2/share/man

# End gnome addition to man_db.conf
EOF

Code:

ldconfig

druuna 06-05-2011 12:10 PM

Hi,

Have a look here: /usr/lib/libstdc++.so.6.0.14-gdb.py? (LFS Maillist)

BTW: You either choose export GNOME_PREFIX=/usr or export GNOME_PREFIX=/opt/gnome-2.30.2 and aal that follows. I do hope you did not mix those two.

Hope this helps.

spiky0011 06-05-2011 01:30 PM

I found that link yesterday but it seemed to go nowhere apart from ignore it.


All times are GMT -5. The time now is 11:19 AM.