[Pythonmac-SIG] newbie process question about building MachoPython
Jack Jansen
Jack.Jansen@oratrix.com
Sun, 30 Jun 2002 00:54:09 +0200
My guess (because of the references to "dl") is that you're
picking up stuff from /sw that you don't want to pick up. Or, at
least, you're picking up stuff that the build process hasn't
been tested for. Specifically, if you have dl installed in /sw
(dl is the "linux-way" of doing dynamic loading) it could be
that Python partially configures itself to use dl-based dynamic
linking in stead of dynload-based dynamic linking. But:
apparently it only partially works (otherwise it would have
"just worked"). The last sentence because I know some people
have used dl on OSX and gotten it to work (IIRC).
My suggestion would be to not use /sw/include and /sw/lib
unconditionally but in stead refer to it with the various
--with-foobar options of configure (for all foobars you have in
/sw).
On zaterdag, juni 29, 2002, at 11:42 , Dan Brotsky wrote:
> (Please forgive me if the answer to this question should have
> been obvious: I'm quite new to building the CVS tree from
> scratch.)
>
> I've been having trouble building MachoPython CVS head on OS
> 10.1.5 (latest released devtools). I use the fink environment
> for most of my unixy stuff, and so set CPPFLAGS to
> -I/sw/include and LDFLAGS to -L/sw/lib. Building has been
> giving errors linking the Parser module (can't find library dl)
> and also compiling some other modules (can't find header
> dl<something>). I believe I've found the two problems in
> Makefile.pre.in underlying the failures--
>
> 1. The PGEN build line doesn't add $(LDFLAGS)
>
> 2. The CPPFLAGS and CFLAGS defines don't include @CPPFLAGS@ and
> @CFLAGS@.
>
> --and I've prepared a context-diff patch that fixes those problems.
>
> So now comes the process question:
>
> 1. Should I submit a bug in sourceforge?
>
> 2. Should I submit the patch in sourceforge?
>
> I know that the python.org culture page says the answers to 1
> and 2 are yes, but I wanted to check first given that this is
> kind of a Mac-y thing rather than a general thing.
>
> Thanks in advance for gentle responses.
>
> dan
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
--
- Jack Jansen <Jack.Jansen@oratrix.com>
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution --
Emma Goldman -