« Return to Thread: Setting swi homedir without setting the env variable

Re: Setting swi homedir without setting the env variable

by Victor NOEL :: Rate this Message:

Reply to Author | View in Thread

On Wed, Apr 23, 2008 at 08:54:27PM +0200, Jan Wielemaker wrote:
> "doesn't work" isn't very informative.  As you use the source anyway,
> put some print statements in findHome() in pl-main.c to see what goes
> wrong.

I was finally able to make it works.
I don't know why but it looks like that when recompiling swipl,
the libjpl.so wasn't.

But when I was trying to enable debug in jpl.c, I guess because it
was modified, libjpl.so was recompiled and it worked.

While doing all of this, I noticed these two things :
1) You changed the documentation for the option "-nosignals" to
"--nosignals" but it looks like pl-main.c is looking for
"-nosignals" (I just took a look at the isoption function)
Maybe other options are impacted by this ? (Or maybe I misread and
there is nothing strange about this :)
2) If I move the source tree after doing a configure, and if I do
a configure again, the source tree doesn't compile for some
packages that did not update the source tree directory in their makefile...

Anyway, thanks you, all is working great now, I hope I will be
finished soon to get some comment on my work :)

>
> Cheers --- Jan

Victor


signature.asc (196 bytes) Download Attachment

 « Return to Thread: Setting swi homedir without setting the env variable

LightInTheBox - Buy quality products at wholesale price