Justin C. Walker on Tue, 3 Dec 2002 17:35:39 -0800

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: --host in Configure

Ok, here's the deal:

On Tuesday, December 3, 2002, at 02:59 PM, Karim BELABAS wrote:

On Tue, 3 Dec 2002, Justin C. Walker wrote:
Nice work, Bill!  That did it...
Everything seems to work, after installation, so I'm a happy camper.

Does this mean that

  install(addii,GG); addii(1,2)

works on MacOS X now ?

First, the caveat: I don't know much about the workings of 'install'.

Given that, I can now execute 'install()' successfully, at least up to the reply
  "can't find symbol 'addii' in dynamic symbol table of process"

It appears that dlopen() in highlvl.c is being called with a NULL as the first argument, which, as I read the man page, means that we're trying to open the 'process', correct? I assume that the process (which is bound against /usr/local/lib/libpari-2.2.dylib) should be able to access that library using the NULL argument to 'dlopen()'.

I'm currently stumped, but will try to figure out what's up.

FWIW, with the Configure I now have, *and* with the pre-installed dylib, I can build with no problem. If I build without the installed dylib, I get the good, old, 'ranlib' complaint (I put the .a back in place, just for grins).

To get here I had to:
- install dlcompat (I used Fink, which puts things in a non-standard place)
 - create a link from the installed library to /usr/lib, by hand
 - find the file 'dlfcn.h' in the fink tar file and install it
   (there may be a better way, which I'm looking into to)
I chose to install it in /sw/include, where Fink would, and then slink it
   to /usr/include.

So to finish up, we need to figure out how to deal with the 'dlcompat' issue properly; and figure out why the build requires the library to be pre-installed (you may already understand that; I just don't).

Ideas are welcome.



Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention