Re: [Queue-developers] compiled!
Brought to you by:
wkrebs
From: W. G. K. <wer...@ya...> - 2001-04-11 22:27:47
|
I will try to address this so that at least Solaris (or some versions thereof) will be tested in this next release. I think you have to run queued in debug mode to get it to work. (That's another bug we should try to extricate before the release.) It is probably complaining about the spool directory permissions. Sam Liddicott wrote: > I'm just trying to compile from a fresh cvs. > To get autoconf to work I had to do: > > perl -i -pe 's/\/undefine/\/pndefine/g;' configure.in > > As for the missing .h files; you are right about define.h; further config.h > does define all the correct symbols so that these include files should be > included. > > However define.h includes netdb.h before it includes time.h - I argue this > is an OS bug, if netdb.h needs time.h it should include it itself. > But thats not the real problem; > > If I put: #include <time.h> partway down config.h; all is fine, but if I put > it as the very top line of define.h then ident.c won't compile as previously > repotred, which is weird as qlib.c includes define.h right after config.h > > ?? > Anyway, so I put those 3 hash defines back into config.h for now. > > Next I had to comment out 1170 in qlib.c where sa_restorer is used. I guess > that line could be zapped? > > I also had to alter that SA_DEFER to SA_NODEFER (sorry I told you wrong) > > Next I had to implement the error function in random.c (because rightly or > wrongly it links against qlib.o) > > Next I had to comment out line 65 of lex.l > { "rlimitrss", K_RLIMITRSS }, > > I don't know why it failed. > > But thats all. > > I have trouble running queued with -D, it coplains about the debug dir > permissions - but this dir is not settable; nor does the error say which dir > it is! I've mod'd my code to list the offending dir. > > queue fails to submit jobs to queue now; but I'll look at this another day. > > Thanks for your help; hope these notes are useful. > > Sam > > > -----Original Message----- > > From: W. G. Krebs [mailto:wer...@ya...] > > Sent: 11 April 2001 18:19 > > To: que...@li... > > Subject: Re: [Queue-developers] compiled! > > > > > > This shoulds like a problem with the ./configure script > > generated by whatever > > version of GNU AutoConf you used. > > > > The #include files you list are all listed in define.h, which > > is included in > > queue.h, included in queued.c. > > > > So, if ./configure is working properly, these should be read > > by the compiler > > via define.h. > > > > Did you need to make any changes beyond what I did in the > > most recent CVS > > version (comment fixes and a few code fixes?) to get it to compile? > > > > Sam Liddicott wrote: > > > > > OK; I got the darn think compiled for solaris 2.7 (thanks > > to those who > > > hinted); > > > > > > I had to make quite a few mods to the code; some of which > > were actual code > > > mods; and some of which were comment fixes and some of > > which were just > > > making sure the right include file was included. > > > > > > Maybe the include-file fixes should be handled by autoconf > > but I'm not sure > > > and would like to disucss them. > > > > > > I had to include <sys/wait.h> for WCOREDUMP define in queued.c > > > I had to include <dirent.h> for queued.c > > > I had to include <time.h> for ident.c > > > > > > Of course each include might be needed for other things too. > > > > > > Sam > > > > > > _______________________________________________ > > > Queue-developers mailing list Que...@li... > > > To unsubscribe, subscribe, or set options: > > > http://lists.sourceforge.net/lists/listinfo/queue-developers > > > > > > _______________________________________________ > > Queue-developers mailing list Que...@li... > > To unsubscribe, subscribe, or set options: > > http://lists.sourceforge.net/lists/listinfo/queue-developers > > > > _______________________________________________ > Queue-developers mailing list Que...@li... > To unsubscribe, subscribe, or set options: > http://lists.sourceforge.net/lists/listinfo/queue-developers |