[csw-maintainers] mod_wsgi, on build8x - python-2.6 strange?

Dagobert Michelsen dam at opencsw.org
Mon Mar 2 22:23:02 CET 2009


Hi Rupert,

Am 02.03.2009 um 22:12 schrieb rupert THURNER:
> but now its consistent at least, it fails with the same error on
> build8s as well :)
>
> do you have an example how to add it to the mgar makefile somewhere?

GAR automatically sets everything correct. Just make sure LDFLAGS
are honored during MAKE:

build8s% gmake modenv
           Arch: sparc
         Kernel: sparcv9

Default ISA 32: sparcv8
Default ISA 64: sparcv9

Requested ISAs: sparcv8
    Needed ISAs: sparcv8
     Build ISAs: sparcv8

   ISAEXEC dirs:
  ISAEXEC files:

  Merge include:
  Merge exclude:     /opt/csw/share/info/dir /opt/csw/lib/.*\.la .* 
\~ /opt/csw/lib/.*\.a

Requested compiler flags:

* Modulation isa-sparcv8: ISA=sparcv8
            PATH = /home/dam/mgar/pkg/autoconf/trunk/work/install-isa- 
sparcv8/opt/csw/bin:/home/dam/mgar/pkg/autoconf/trunk/work/install- 
isa-sparcv8/opt/csw/bin:/home/dam/mgar/pkg/autoconf/trunk/work/ 
install-isa-sparcv8/opt/csw/sbin:/home/dam/mgar/pkg/autoconf/trunk/ 
work/install-isa-sparcv8/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/ 
csw/sbin:/opt/csw/sbin:/opt/studio/SOS11/SUNWspro/bin:/home/dam/mgar/ 
pkg/autoconf/trunk/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin
PKG_CONFIG_PATH = /opt/csw/lib/pkgconfig
          CFLAGS = -xO3 -xarch=v8 -I/opt/csw/include
        CXXFLAGS = -xO3 -xarch=v8 -I/opt/csw/include
        CPPFLAGS = -I/opt/csw/include
         LDFLAGS = -xarch=v8 -L/opt/csw/lib -R/opt/csw/lib/\\$ 
$ISALIST -R/opt/csw/lib
         ASFLAGS =
        OPTFLAGS = -xO3 -xarch=v8

The strange quoting is due to multiple expansion during configure and  
make.
Make sure you check the output with
   /usr/ccs/bin/dump -Lv <binary>


Best regards

   -- Dago

>
> rupert.
>
>
> On Sun, Mar 1, 2009 at 17:23, Philip Brown <phil at bolthole.com> wrote:
>> On Sun, Mar 01, 2009 at 04:48:20PM +0100, rupert THURNER wrote:
>>> gmake[2]: Entering directory
>>> `/home/rupert/mgar/pkg/mod_wsgi/work/build-isa-i386/mod_wsgi-2.3'
>>> /opt/csw/apache2/sbin/apxs -c -I/opt/csw/include/python2.6 -DNDEBUG
>>> mod_wsgi.c -L/opt/csw/lib/python2.6/config -lpython2.6 -lresolv
>>
>> thats odd. There are no shared libs in /opt/csw/lib/python2.6/config
>>
>> looks like the latest python packages are broken for new development.
>>
>> For one thing, if it's going to offer a non-standard lib path for - 
>> L, it
>> should provide a matching -R. However, it's providing the wrong -L  
>> path to
>> begin with. the libs appear to be in /opt/csw/lib anyways.
>>
>> (so it should be providing the usual
>>  -L/opt/csw/lib -R'/opt/csw/lib/$ISALIST'  )
>>
>> you can add that to your makefile flags if you're in a hurry, and  
>> it should
>> work
>> _______________________________________________
>> maintainers mailing list
>> maintainers at lists.opencsw.org
>> https://lists.opencsw.org/mailman/listinfo/maintainers
>>
> _______________________________________________
> maintainers mailing list
> maintainers at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/maintainers




More information about the maintainers mailing list