Installing "GNUstep" on NetBSD


I have installed GNUstep on NetBSD/i386 1.5.2.
I will not be responsible for any damage implicitly or explicitly caused by this information.
Use at your own risk.
Please submit any comments or suggestions to jnqt@fbe.freeserve.ne.jp.
For more information about installation, check out this "HOWTO" document.

Note: This information is part of the `README.NetBSD' file located in the gnustep-make package.

Good Luck! :-)


//
// Install GNUstep
//


su root


[Add `/etc/ld.so.conf']
/usr/local/lib
/usr/X11R6/lib


ldconfig


[Use the NetBSD packages collection...Install `/usr/local']
gcc-2.95.2
gmake-3.79.1
libiconv-1.7
libxml2-2.4.10
tiff-3.5.5


rehash


alias gmake gmake CC=/usr/local/gcc-2.95.2/bin/cc CPP=/usr/local/gcc-2.95.2/bin/cpp


tar zxvf ffcall-1.8c.tar.gz
cd ffcall-1.8c
./configure --prefix=/usr
gmake
gmake check
gmake install


tar zxvf gnustep-make-1.0.0.tar.gz
cd gnustep-make-1.0.0
./configure --prefix=/usr/local/GNUstep
gmake
gmake install
gmake distclean


source /usr/local/GNUstep/System/Makefiles/GNUstep.csh


tar zxvf gnustep-objc-1.0.1.tar.gz
cd gnustep-objc-1.0.1

[Edit `./GNUmakefile' Line:39]
    THREADING = posix -> THREADING = single

gmake
gmake install


cd gnustep-make-1.0.0
./configure
gmake
gmake install


tar zxvf gnustep-base-1.0.0.tar.gz
cd gnustep-base-1.0.0

ln -s /usr/local/bin/xml2-config /usr/local/bin/xml-config
./configure --with-xml-prefix=/usr/local --with-libiconv-library=/usr/local/lib

gmake

[Ahhh...Error...and Edit `./Source/dynamic-load.h' Line:94]
    sym = dlsym(RTLD_NEXT, symbol); -> sym = dlsym(handle, symbol);

gmake
gmake install


tar zxvf gnustep-gui-0.6.8.tar.gz
cd gnustep-gui-0.6.8
./configure
gmake
gmake install


tar zxvf gnustep-xgps-0.6.8.tar.gz
cd gnustep-xgps-0.6.8
./configure
gmake
gmake install


tar zxvf extensions-0.8.6.tar.gz
cd extensions-0.8.6
./configure
gmake
gmake install


mkdir ~/GNUstep


[Add `/etc/rc.local']
if [ -f /usr/local/GNUstep/System/Tools/ix86/netbsdelf1.5.2/gdomap ]; then
    /usr/local/GNUstep/System/Tools/ix86/netbsdelf1.5.2/gdomap
fi


[Add `~/.cshrc']
setenv GNUSTEP_TZ Japan
source /usr/local/GNUstep/System/Makefiles/GNUstep.csh
if (`gdomap -L GDNCServer | grep -c Found` == '0') then
    echo 'Starting GNUstep services.'
    gdnc
    gpbs
endif
alias gmake gmake CC=/usr/local/gcc-2.95.2/bin/cc CPP=/usr/local/gcc-2.95.2/bin/cpp


reboot


//
// e.g. Install CurrencyConverter(in the GNUstep examples)
//


su root


tar zxvf gustep-examples-0.9.2.tar.gz
cd gustep-examples-0.9.2/gui/CurrencyConverter
gmake
gmake install


startx


openapp CurrencyConverter.app

[CurrencyConverter Image]



© 1999-2002 JNQT jnqt@fbe.freeserve.ne.jp