Oops.. I meant: ./configure --prefix=/opt/python/2.4.3 --enable-shared
When I include /opt/csw into the CPPFlags or LDFlags, libraries like lxml start to fail to compile. Still - if anyone can point me out to getting readline working - that'd be great. thanks, Hmm.... Linux is *easy* compared to Solaris. :) vic On 7/28/06, Victor Ng <[EMAIL PROTECTED]> wrote: > > How do I enable readline support for Python under Solaris 10? > > I've got CSWreadline installed in /opt/csw from blastwave, but I'm not having > any luck getting the readline.so module compiled. > > I'm using: > > CPPFLAGS="-I/opt/csw/include" LDFLAGS="-L/opt/csw/lib" ./configure > --prefix=/opt/python/2.4.3 --enable-shared --disable-tkinter > --enable-readline --libdir=/opt/csw/lib --includedir=/opt/csw/include > --enable-rpath --enable-curses > > From the SciPy page, I've modified the pyconfig.h file after configure is run > so that matplotlib will compile: > > http://www.scipy.org/Cookbook/Matplotlib/CompilingMatPlotLibOnSolaris10 > > > > 2 after extracting it and running ./configure, edit the generated > pyconfig.h as follows: > > > > i) if _XOPEN_SOURCE is defined to be 600 (i.e., if the line "#define > _XOPEN_SOURCE 600" appears in the file), redefine it to 500 > > ii) if _XOPEN_SOURCE_EXTENDED is defined at all (i.e. if the line "#define > _XOPEN_SOURCE_EXTENDED 1" appears in the file), comment out its definition > But other than that - I haven't done anything special. What am I doing wrong? > > vic -- "Never attribute to malice that which can be adequately explained by stupidity." - Hanlon's Razor -- http://mail.python.org/mailman/listinfo/python-list