Mailing List Archive



Back to the month index Back to the list index

grund@coh.fgg.eur.nl
Tue, 01 Apr 1997 12:12:22 +0100


From: grund@coh.fgg.eur.nl
Message-Id: <3340ED96.383E@coh.fgg.eur.nl>
Date: Tue, 01 Apr 1997 12:12:22 +0100
Subject: [mSQL] re.HP-UX-B-10.xx

A simpel solution to compile the msql distribution under HP-UX 10.xx

---------
goto the [src] directoy.
cd msql
vi Makefile.tmpl
exchange 'ln -s' by 'cp'
save makefile
cd ../regexp
vi Makefile.tmpl
exchange 'ln -s' by 'cp'
save makefile
cd ..
make target
---------

HP-UX ranlib and 'ln -s' bite each other
When you give:
ln -s ../msql/libmsql.a ../lib/libmsql.a
$(RANLIB) ../lib/libmsql.a

ranlib clears the ../msql/libmsql.a file. So the next call of ranlib
states '../lib/libmsql.a is in wrong format (something alike)'
It turns out that RANLIB can't function through a symbolic link.

A more general solution is to change the order of execution of commands.
e.g.
..
rm -f ../lib/libmsql.a
$(RANLIB) ../msql/libmsql.a
ln -s ../msql/libmsql.a ../lib/libmsql.a
..

A lot of people seem to have the same proplem compiling msql under HP-UX
and i couldn't find a solution in any of the lists. So hope this helps.

p.s. this solution is for 1.xx and 2.xx distribution.

Greating from holland
Grund@coh.fgg.eur.nl

MSQL an very nice product which i soon wil register(!).
MSQL wil be used as a knowledge base for the ERASMUS University
Rotterdam
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!