Re: [q-lang-users] malloc problems on mac os x
Brought to you by:
agraef
|
From: Tim H. <q...@st...> - 2004-09-30 11:57:07
|
Dr....@t-... (Albert Graef) writes:
> Hi, Tim,
>
>> | dlcompat: pthread_setspecific failed
>
> That seems to be the real culprit. This should never happen. Looks like
> the pthread implementation in the latest OSX is broken.
Hmmm. Well, q-5.3 still works on here... my inclination is to suggest Q's
doing something less than compatible in v5.4. :)
> To verify this, could you please try building without threads (configure
> --without-pthread)?
OK, I've just done:
(CFLAGS="-I/usr/local/stow/darwinports/include -I/usr/local/iODBC/include
-pipe -g " LDFLAGS="-L/usr/local/stow/darwinports/lib
-L/usr/local/iODBC/lib -liodbc " ./configure --prefix=/usr/local/stow/q
--with-{x,gmp,curl,gdbm,magick,odbc,xml}
--with-rl="-L/usr/local/stow/darwinports/lib -lreadline" --without-pthread
&& nice make )|& tee build-conf.log
and exactly the same error has occurred mid-build... Hmmm. OK,
`--without-pthread' is not being respected, as all the **/Makefile files
have references to it in.
<runs quick perl 1-liner to remove all references to `-lpthread'>
...nope, same thing.
However, I've just fixed it. `dlcompat' is a bone of contention in
darwinports, but by exporting
| setenv DYLD_LIBRARY_PATH /opt/local/lib/:$DYLD_LIBRARY_PATH
it's now picking up another version that doesn't exhibit the problem. So
all is back to normal and I can migrate the website to the newer version :)
Cheers
~Tim
--
<http://spodzone.org.uk/>
|