compile gcombust on hp-ux 10.20
Version 0.14, last modified on 12.06.2001 Martin Gansser (c) <
mgansser@rand.de mgansser@ngi.de>This guidance explains step by step, how gcombust-0.1.45 is compiled on hp-ux 10.20 with the help of the GCC ANSI-C compiler.
gcombust-0.1.45 is a graphic user - Interface, which uses cdrecord.
Author: (c) 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.10 |
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.10 |
glib 1.2.x |
I recommend using the latest version, at the moment 1.2.10 |
gettext 0.10.38 |
NLS – language support, the latest version is, at the moment 0.10.38 |
cp sed-3.02-sd-10.20.depot.gz /tmp |
cp binutils-2.11-sd-10.20.depot.gz /tmp |
cp make-3.79-sd-10.20.depot.gz /tmp |
Dependencies:
m4
cp autoconf-2.50-sd-10.20.depot.gz /tmp |
Dependencies:
autoconf m4 perl texinfo
cp automake-1.4-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.3-sd-10.20.depot.gz /tmp |
Dependencies:
gettext glib libiconv
cp gtk+-1.2.10-sd-10.20.depot.gz /tmp |
cp glib-1.2.10-sd-10.20.depot.gz /tmp |
cp libiconv-1.6.1-sd-10.20.depot.gz /tmp |
Dependencies:
libiconv
cp gettext-0.10.38-sd-10.20.depot.gz /tmp |
Depot files produced by me, please use sources
cdrtools-1.10
cp cdrtools-1.10a19-sd-10.20.depot.gz /tmp |
cp perl-5.6.1-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 as
Developer kit. The run time libraries e.g. ' libXext.1 ' and ' libXext.2 ' are installed under /usr/lib/X11R6.
With 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/opt/gettext/lib \ |
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.45.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', orget GNU
gettext for HP-UX.The command
'./configure --with-included-gettext' bypasses system catgets or gettextto use GNU gettext instead, while
'./configure --disable-nls' produces program totallyunable 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 |
Instructions |
Attention / Note |
Error Messages / Warnings |
Solution |
Additionally I created a SDUX Softwaredepot from gcombust-0.1.45, this means a precompiled binary file (gcombust-0.1.45-sd-10.20.depot), which is installed with swinstall.
Note: gcombust Dependencies and Installation Order for precompiled Version. This are the minimum requirements. |
glib-1.2.10-sd-10.20.depot
gtk+-1.2.10-sd-10.20.depot
libiconv-1.6.1-sd-10.20.depot
gettext-0.10.38-sd-10.20.depot