|
From: Leif M. <le...@ta...> - 2003-10-17 15:45:06
|
Daniel,
I just retested this and it is working correctly on my machine.
There is currently no
easy way to debug this because the include system is designed to simply
ignore files that
can not be found.
It sounds like you have already tried most things. The next thing
that I would suggest
will involve building from source? It is easy.
Download the src tar file. (You do not need the big one with the
document source.)
Edit the src/c/Makefile.linux file and append a debug flag to the
COMPILE options
on the first line. It will look like this:
COMPILE = gcc -O3 -Wall --pedantic -D_DEBUG
Now from the root of the source, simply run ./build.sh This will
recompile everything.
Copy the new wrapper binary to your project and try launching the
wrapper again.
You will get a lot of debug output. The beginning goes through the
process of reading
in the conf file and any includes. It is not very user friendly, so
post the output back to
the list and I'll see if I can see your problem.
Please post your wrapper.conf and wrapper_server.conf files as well.
Cheers,
Leif
Daniel Carlsson wrote:
>Hi
>
>I am using #include in a file called "wrapper_server.conf" to include a file named "wrapper.conf", both placed in the same directory as the executable. Everything works perfectly on windows but does not work att all on linux (Redhat 8.0, sun java 1.4.1_02-b06). I have tried wrapper 3.0.4 and 3.0.5.
>
>I have tried moveing the include line around and rewritting it as:
>#include wrapper.conf
># include wrapper.conf
>#include ./wrapper.conf
>#include /opt/fox/fox_f03/wrapper/wrapper.conf
>
>Nothing works and I can't understand why. Has somebody successfully run includes in linux? Does somebody know why it doesn't work?
>
>Thanks
>
>Daniel Carlsson
>Gimlisoft AB
>Email: dan...@gi...
>Tel: 0709-744570, 031-189024
>
>
|