compile gcombust on hp-ux® 10.20
Version 0.9, last modified on 02.01.2001
ã Martin Gansser <mgansser@rand.de mgansser@ngi.de>This guidance explains step by step, how gcombust-0.1.39 is compiled on hp-ux
â 10.20 with the help of the GCC ANSI-C compiler.gcombust-0.1.39 is a graphic user - Interface, which uses cdrecord.
Author: ã Jonas Munsin
gcombust-0.1.39 is the first Release which support ripping of audio cds with cdparanoia, but this feature is not supported on HP-UX. |
cdrtools 1.9 |
cdrecord/mkisofs/cdda2wav |
cdlabelgen 1.5.0 |
create and print CD Labels uses perl5 |
gtk+ 1.2.x |
I recommend using the latest version, at the moment 1.2.8 |
glib 1.2.x |
I recommend using the latest version, at the moment 1.2.8 |
gettext 0.10.35 |
NLS – language support |
cp sed-3.02-sd-10.20.depot.gz /tmp |
cp binutils-2.9.1-sd-10.20.depot.gz /tmp |
cp make-3.79-sd-10.20.depot.gz /tmp |
Dependencies:
m4
cp autoconf-2.13-sd-10.20.depot.gz /tmp |
Dependencies:
autoconf m4 perl texinfo
cp automake-1.3-sd-10.20.depot.gz /tmp |
cp texinfo-4.0-sd-10.20.depot.gz /tmp |
cp m4-1.4-sd-10.20.depot.gz /tmp |
Dependencies:
binutils
cp gcc-2.95.2-sd-10.20.depot.gz /tmp |
Dependencies:
glib
cp gtk+-1.2.8-sd-10.20.depot.gz /tmp |
cp glib-1.2.8-sd-10.20.depot.gz /tmp |
cp gettext-0.10.35-sd-10.20.depot.gz /tmp |
Depot files produced by me, please use sources
cdrecord-1.9.tar.gz
cp cdrecord-1.9-sd-10.20.depot.gz /tmp |
cp perl-5.6.0-sd-10.20.depot.gz /tmp |
if compiling errors occur like this:
/usr/ccs/bin/ld: Can't find library for lXext |
The HP-UX
â X11-Library with the X11-Extensions are only installed as run time LIBRARY and not asWith installation of the " HP-UX
â X11R6 Developer's Toolkit B.10.20 " by the Patch PHSS_21043 under
cp PHSS_21043 /tmp |
After install patch PHSS_21043 ( s700_800 10.20 X11R6/Motif1.2 DevKit MAR2000 Periodic Patch ) the
following X-libraries are displayed:
Patch Files:
/usr/bin/X11/uil
/usr/lib/X11R6/libX11.a
/usr/lib/X11R6/libXhp11.a
/usr/lib/X11R6/libXext.a
/usr/lib/X11R6/libXt.a
/usr/lib/X11R6/libICE.a
/usr/lib/X11R6/libXIE.a
/usr/lib/X11R6/libXi.a
/usr/lib/X11R6/libXtst.a
/usr/lib/Motif1.2_R6/libXm.a
/usr/lib/Motif1.2/libMrm.a
...
vi / opt/gtk+/bin/gtk-config echo $libdirs –lgtk -lgdk $my_glib_libs -L/usr/lib/X11R6 -lXext -lX11 -lm |
Depot files produced by me, please use sources
cdlabelgen-1.5.0Dependencies:
perl gv-3.5.8 gs gs_f_other-5.10 gs_f_std-5.10 libpng zlib Xaw3d
cp cdlabelgen-1.5.0-sd-10.20.depot.gz /tmp |
It is necessary that the GNU program paths are set before the HP-UXâ system paths. |
vi /etc/PATH /opt/sed/bin:/opt/binutils/bin:/opt/make/bin:/opt/autoconf/bin:/opt/automake/bin |
Attention: the path variable are in one line, separate by colon. |
reboot Maschine after editing the path
Check whether the GNU version is used.
which as ld sed |
The output should display the following:
/opt/binutils/bin/as
/usr/bin/ld
/opt/sed/bin/sed
gunzip gcombust-0.1.39.tar.gz |
setenv CC GCC |
To use internationalization (i18n), gcombust needs a usable gettext or catgets implementation. If your system does not provide one (e.g. HP-UX
â ), either use the configure switch '--disable-nls', or get GNU gettext for HP-UXâ .The command
'./configure --with-included-gettext' bypasses system catgets or gettext to use GNU gettext instead, while './configure --disable-nls' produces program totally unable to translate messages.However, the environment variable 'LINGUAS' may be set, prior to configuration, to limit the installed set, e.q.
Create only the language catalog for german and delete the cache file created by configure.
setenv LINGUAS de ./configure –with-gtk-prefix=/opt/gtk+ --disable-gtktest \ |
define installation-path-prefix in configure e.g.:
–-prefix=/opt/gcombust |
or
transfer the following option when creating the Makefile:
./configure –prefix=/opt/gcombust -–with-gtk-prefix=/opt/gtk+ \ |
Directory and file names: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local]--enable and --with options recognized: --disable-nls do not use Native Language Support, if gettext is not installed--with-included-gettext use the GNU gettext library included here --with-catgets use catgets functions if available --with-gtk-prefix=PFX Prefix where GTK is installed (optional) --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional) --disable-gtktest Do not try to compile and run a test GTK program |
gmake |
gmake install |
In order to be able to start gcombust, the programs path should be defined.
for csh users in
.cshrc:
set path=( $path /usr/sbin /opt/gcombust/bin ) |
for ksh and bash users in
.profile:
PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin:/opt/gcombust/bin |
gcombust can be started in different language environments.
e.q. you can start gcombust in german language environment, by setting of the following variable:
for csh users in
.cshrc:
setenv LANG de_DE.iso88591 |
for ksh and bash users in
.profile:
export LANG=de_DE.iso88591 |
gcombust |
Instruction |
Attention / Note |
Error Messages / Warnings |
Solution |
Additionally I created a SDUX Softwaredepot from gcombust-0.1.39, this means a precompiled binary file (gcombust-0.1.39-sd-10.20.depot), which is installed with swinstall.
Dependencies: cdrecord-1.9-sd-depot and cdlabelgen-1.5.0-sd-depot.