Menu

Build problem in Solaris 10

Help
lawina
2008-04-17
2012-09-19
  • lawina

    lawina - 2008-04-17

    When I try to build python Solaris 10 having
    GCC - version 3.4.3
    MySQL - Ver 12.22 Distrib 4.0.24, for sun-solaris2.10
    Python - 2.5.1

    python setup.py build

    running build
    running build_py
    copying MySQLdb/release.py -> build/lib.solaris-2.10-sun4u-2.5/MySQLdb
    running build_ext
    building '_mysql' extension
    creating build/temp.solaris-2.10-sun4u-2.5
    gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Dversion_in fo=(1,2,2,'final',0) -Dversion=1.2.2 -I/usr/sfw/include/mysql -I/usr/local/includ e/python2.5 -c _mysql.c -o build/temp.solaris-2.10-sun4u-2.5/_mysql.o -xstrconst -mt
    gcc: warning: -x strconst' after last input file has no effect cc1: error: invalid optiont'
    error: command 'gcc' failed with exit status 1

    Does anybody knows workarounds for this?
    Thank you.

     
    • mijohnst

      mijohnst - 2008-05-05

      I'm having a very similar problem... I can't for the life of me get this to build right.

      This is my error:

      ld: fatal: relocations remain against allocatable but non-writable sections
      collect2: ld returned 1 exit status
      error:command 'gcc' failed with exit status 1

      Something tells me the God's don't want us to run this on Solaris.

       
      • mijohnst

        mijohnst - 2008-05-05

        Actually, I just made change in site.cfg file to use threaded and now I get the exact same error...

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.