Compile gcombust on hp-ux 10.20 / 11.00
README_hp-ux.html Version 22, last modified on 27.05.2002 Martin Gansser (c) <
mgansser@rand.de mgansser@ngi.de> A newer install discription can be found on my homepage: http://cloud.prohosting.com/patosThis guidance explains step by step, how gcombust-0.1.51 is compiled on hp-ux 10.20 / 11.00 with the help of the GCC ANSI-C compiler.
gcombust is a graphic user - Interface, which uses cdrecord.
I compiles with HP-UX Developer`s Toolkit for hp-ux 10.0: (Product B3392BA) and both´s DevKit`s:
PHSS_21957 s700_800 10.20 X11R5/Motif1.2 DevKit AUG2000 Periodic Patch
PHSS_23519 s700_800 10.20 X11R6/Motif1.2 DevKit JUL2001 Periodic Patch
and for hp-ux 11.00:
X11MotifDevKit B.11.00.01 HP-UX Developer's Toolkit - X11, Motif, and Imake
and the following patch:
PHSS_25878 s700_800 11.00 X/Motif 32bit DevKit JAN2002 Periodic Patch
Author: (c) Jonas Munsin
Info: gcombust-0.1.39 is the first release which support ripping of audio cds with cdparanoia, but this feature is not supported by HP-UX, |
program |
SDUX depot or source code |
hp-ux 10.20 |
hp-ux 11.00 |
cdrtools |
Sourcecode is available |
||
cdlabelgen |
Sourcecode is available |
||
gtk+ |
SDUX depot file is available |
||
glib |
SDUX depot file is available |
||
gettext |
SDUX depot file is available |
hp-ux 10.20
cp sed-3.02-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp sed-3.02-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp binutils-2.11.2-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp binutils-2.11.2-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp make-3.79.1-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp make-3.79.1-sd-11.00.depot.gz /tmp |
hp-ux 10.20
Dependencies:
gawk m4 perlcp autoconf-2.52-sd-10.20.depot.gz /tmp |
hp-ux 11.00
Dependencies:
gawk m4 perlcp autoconf-2.52-sd-11.00.depot.gz /tmp |
hp-ux 10.20
Dependencies:
autoconf gawk m4 perl texinfocp automake-1.4p5-sd-10.20.depot.gz /tmp |
hp-ux 11.00
Dependencies:
autoconf gawk m4 perl texinfocp automake-1.4p5-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp fileutils-4.1-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp fileutils-4.1-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp texinfo-4.0-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp texinfo-4.0-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp m4-1.4-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp m4-1.4-sd-11.00.depot.gz /tmp |
hp-ux 10.20
Dependencies:
binutilscp gcc-3.0.1-sd-10.20.depot.gz /tmp |
hp-ux 11.00
Dependencies:
binutilscp gcc-3.0.1-sd-11.00.depot.gz /tmp |
hp-ux 10.20
Dependencies:
gettext glib libiconvcp gtk+-1.2.10-sd-10.20.depot.gz /tmp |
hp-ux 11.00
Dependencies:
gettext glib libiconvcp gtk+-1.2.10-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp glib-1.2.10-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp glib-1.2.10-sd-11.00.depot.gz /tmp |
hp-ux 10.20
cp libiconv-1.7-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp libiconv-1.7-sd-11.00.depot.gz /tmp |
hp-ux 10.20
Dependencies:
libiconvcp gettext-0.10.38-sd-10.20.depot.gz /tmp |
hp-ux 11.00
Dependencies:
libiconvcp gettext-0.10.38-sd-11.00.depot.gz /tmp |
Example under HP-UX:
gzip –dc cdrtools-1.10.tar.gz | tar xf - |
Depot files produced by me, please use sources
cdrtools-1.10 or precompiled binarycp cdrtools-1.10-sd-10.20.depot.gz /tmp |
hp-ux 10.20
cp perl-5.6.1-sd-10.20.depot.gz /tmp |
hp-ux 11.00
cp perl-5.6.1-sd-11.00.depot.gz /tmp |
vi /opt/gtk+/bin/gtk-config echo $libdirs –lgtk -lgdk $my_glib_libs –L/opt/gettext/lib \ |
Depot files produced by me, please use sources
cdlabelgen-1.5.0cp cdlabelgen-1.5.0-sd-10.20.depot.gz /tmp |
Attention: 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: all path variables are in one line, separate by colon. |
In order to make the PATH Modifications effective, it is sufficient to logout and login again from CDE session.
If you won´t logout, you can reread the PATH Variables with following command in different shell´s:
for sh/ksh shell
export PATH=`cat /etc/PATH`:$PATH |
for csh/tcsh shell
setenv PATH `cat /etc/PATH`:$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
gzip –dc gcombust-0.1.51.tar.gz |tar xf – |
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
e.q. create only the language catalog for german and delete the cache file created by configure.
Note: gcombust didn´t require the GNU gettext package, because gettext is included in this package, |
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 |
the binary on my machine is 5197208 large (5,2 MB)
a). if compiling errors occur like this:
/usr/ccs/bin/ld: Can't find library for –lXext |
This means that the static libraries are missing.
The HP-UX
â X11-Library with the X11-Extensions are only installed as run time LIBRARY and not asFor Systems without developerkit do:
Simply make a link in /usr/lib/X11R6 from runtime library to static library.
cd /usr/lib/X11R6 |
b). if compiling errors occur like this:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/gcombust/share/locale\" -I../intl -g -O2 -I/o |
Change in src/multisession.c line 224:
cd src vi multisession.c int read_will_block_cd(char *path) { by int read_will_block_cd(int fd) { |
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 |
Additionally I created static and dynamic binaries SDUX Softwaredepot for hp-ux 10.20 from gcombust-0.1.51,
this means a precompiled binary file (dynamic: with dependencies) and a (static: without dependencies)
install static binary:
gunzip
gcombust-0.1.51-sa-10.20.depot.gz ; cp gcombust-0.1.51-sa-10.20.depot /tmpinstall dynamic binary:
gunzip
gcombust-0.1.51-sd-10.20.depot.gz ; cp gcombust-0.1.51-sd-10.20.depot /tmp
Note: gcombust dependencies and installation order for precompiled dynamic binary. These are the minimum requirements. |
1. glib-1.2.10-sd-10.20.depot
2. gtk+-1.2.10-sd-10.20.depot
3. libiconv-1.6.1-sd-10.20.depot
4. gettext-0.10.38-sd-10.20.depot
Instructions |
Attention / Note |
Error Messages / Warnings |
Optional |
Solution |