From: Martin B. <mar...@co...> - 2001-04-30 20:47:46
|
<posted & mailed> Hi Mark - thanks for the detailed help. This is just what I need, because even though I have general programming and porting experience, I'm a complete neophyte when it comes to databases and interbase in particular. I seem to have taken a step backwards and now am unable to build all executables (even though that worked before). The way I currently build is as follows (please check through this for some obvious gotchas). The automatic dependency generation does not work proper and does a lot of complaining. I ignored that for now. Otherwise, I seem to have a clean build without any warnings. - Get & unpack the firebird CVS - Get & unpack the firebird boot kit - Make sure everything's clean: rm -f `find . -name '*.o'` rm -f `find . -name '*.bin'` rm -f `find . -name '*.a'| grep -v '\./interbase'` rm -f `find . -name 'depends.mak'` rm -f `find . -name '*.y' | sed 's/\.y/.c/g'` dsql/parse.c rm -fr interbase source/jrd/codes - Set up the environment variables (I use tcsh) unsetenv ISC_USER # supposedly a good idea for a bootstrap build unsetenv ISC_PASSWORD setenv INTERBASE `pwd` setenv REFDBPATH $INTERBASE/refDatabases setenv SHLIB_PATH $INTERBASE/lib setenv PATH ${PATH}:${INTERBASE}/bin - Run the Configure.sh script ./Configure.sh PROD HP10 - Wipe the yacc generated file dsql/parse.c which causes HP's compiler to balk (for some reason, Configure.sh keeps copying it from somewhere). \rm -f dsql/parse.c - Run make (I had to edit some source files to account for HP cc peculiarities. Once it works, I'll be glad to prepare a patch with my modifications): make firebird There I get the error (last few lines): cc check_msgs.o -o check_messages -Wl,+s -L source/jrd -lnsl -lcur_colr -lgds_pyxis -lgds -ldld chmod 777 check_messages make[1]: Leaving directory `/eda2/home/local/install/interbase/msgs' sh -c 'cd source/msgs; check_messages -d master_msg_db -l' lock manager error -can't start lock manager make: *** [msgs] Error 112 I tried build both as root or as a regular user and get the same result. The offending command is cd source/msgs; check_messages -d master_msg_db -l and if I run it from the command line I get the report: lock manager error -can't start lock manager and if Iook in interbase.log I find: vorlon Mon Apr 30 16:46:51 2001 Database: lock manager error can't start lock manager Any ideas on this or how to diagnose the problem would be most welcome. Regards, Martin. Mark O'Donohue wrote: > > Hi Martin > > First congratulations, :-). > > For getting so far, > > If you have built executables then it has got a fair way. > > The easiest thing is to try and access some of the databases in > > your interbase/refDatabases directory. > > you should have interbase/interbase/bin > > use isql something like > > ../../interbase/bin/isql > > >connect employee.gdb; > >select table_name from rdb$tables; > > > I think in one of the readme's there is some simple instructions for > testing. > builds_docs/Readme.linux > > You might need to set the env variable $INTERBASE to root of the > directory you just built to get error messages etc. > > INTERBASE=`pwd`/interbase > ISC_USER=sysdba > ISC_PASSWORD=masterkey > > export (all three above). > > excuse me if Im telling you to suck eggs. > > > The first mode is using direct access. You can use a few of the *sql > scripts in the example directory (empbld.sql I think to get a bit more > complicated). > > The next step is as a service: > > > I presume hp still have /etc/inetd.conf > You need to add a line in there and in /etc/services. > > Actually you should come pretty close by running the install script > > make runclassicinstall > > Or follow up the shell scripts it runs, > > Let me know how you go - I'll check back here in about 5hrs. > > Cheers > > Mark > Martin Bachtold wrote: > >> >> I've been working on a port of firebird to HP-UX 11 and I believe I'm >> nearly there. I got recent firebird source from the sourceforge CVS and >> the bootstrap build kit for linux. after some massaging of the source, I >> was able to compile the code and build the binaries for interbase classic >> (something in building the examples still failed, but I'll look at that >> later). > > >> >> My problem is that I'm clueless on how to test if everything's worked ok. >> I have not yet been able to properly start the server (and I don't know >> what executables to call, what options to pass and how to get verbose >> logging info). > >> >> If somebody who shares my interest of getting firebird to run on HP-UX >> (and make the build more portable in the process) could help me continue >> from here, I'd truly appreciate it. >> >> Regards, Martin > > > -- ________________________________________________________________________ Martin Bächtold Coventor, Inc. 625 Mount Auburn Street, Cambridge, MA 02138 Tel. (617) 497-6880 x238; Fax. (617) 497-6882 Email: mar...@co... ________________________________________________________________________ |