Hi,
              I am primarily a user; but since I can not get a newer           version
          of firefox for my system I have begun the very long process of           
          trying to build a newer version of firefox for my system.
              I am using an IBM pSeries system running AIX 7.1.
              I am using gcc and IBM ld.
              All the modules I have built are being installed in a           directory
          called /opt/alinux.  A lot of linux routines are stored in a           directory
          called /opt/freeware and of course IBM has some version of           their
          own which are installed in /usr...  Currently there is only           one thing
          installed in /usr/local and that is clamscan.
              I have built and installed the tcl.8.6.3, tkl.8.6.3 and           python 2.7.9 into
          /opt/aluinux.
              I am now trying to build and install python 3.4.2.  So far           I
          have found a way to compile python successfully.  There are 
          only three features missing (_sqlite3, ossaudiodev and spwd).
              The configure command I ran was:

      ./configure --prefix=/opt/alinux         --exec-prefix=/opt/alinux --enable-shared  --with-system-ffi         --enable-ipv6 \
        --with-tcltk-includes='-I/opt/alinux/include'         --with-tcltk-libs='-L/opt/alinux/lib' | tee MYconfig.log
      
          After running gmake test I found:
      Ran 509 tests in 47.407s
        FAILED (errors=2, skipped=8)
        Ran 49 tests in 0.065s
        FAILED (failures=2, skipped=1)
        Ran 34 tests in 0.320s
        FAILED (errors=2, skipped=6)
        Ran 80 tests in 1.040s
        FAILED (errors=2, skipped=20)
        Ran 10 tests in 0.366s
        FAILED (failures=1, skipped=2)
        Ran 506 tests in 28.860s
        FAILED (failures=6, errors=5, skipped=83)
        Ran 97 tests in 21.921s
        FAILED (failures=9, skipped=3)
          I then tried to run  ./python -m test -v           test_whatever
          and got the following error:

      $ pwd
        /home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/Python-3.4.2
        $ ls -la lib*
        -rw-r--r--    1 surfer   Internet   19562608 Feb 10 20:02         libpython3.4m.a
        -rwxr-xr-x    1 surfer   Internet   13331408 Feb 10 20:02         libpython3.4m.so
        $ ./python -m test -v test_ssl
        exec(): 0509-036 Cannot load program ./python because of the         following errors:
                0509-150   Dependent module libpython3.4m.so could not         be loaded.
                0509-022 Cannot load module libpython3.4m.so.
                0509-026 System error: A file or directory in the path         name does not exist.
          I would really appreciate some help in           determining what I am doing wrong.
              As I said in the beginning I am primarily a user and not a           developer.  I can solve
          some fairly simple problems; but that about it.
              I am guessing that there is some kind of linking problem;           but I do not know
          how to solve this problem.
              I tried this:

      $         LDFLAGS=-L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/Python-3.4.2                 
        $ export LDFLAGS
      and got the same results.
          
      
       ">

(original) (raw)

You might want to try asking on python-list@python.org to get a wider audience as you might find a fellow AIX user there who can help you out.

On Wed Feb 11 2015 at 12:29:56 AM Dwight <dcrs6000@aceweb.com> wrote:
Hi,
I am primarily a user; but since I can not get a newer version
of firefox for my system I have begun the very long process of
trying to build a newer version of firefox for my system.
I am using an IBM pSeries system running AIX 7.1.
I am using gcc and IBM ld.
All the modules I have built are being installed in a directory
called /opt/alinux. A lot of linux routines are stored in a directory
called /opt/freeware and of course IBM has some version of their
own which are installed in /usr... Currently there is only one thing
installed in /usr/local and that is clamscan.
I have built and installed the tcl.8.6.3, tkl.8.6.3 and python 2.7.9 into
/opt/aluinux.
I am now trying to build and install python 3.4.2\. So far I
have found a way to compile python successfully. There are
only three features missing (\_sqlite3, ossaudiodev and spwd).
The configure command I ran was:
./configure --prefix=/opt/alinux \--exec-prefix=/opt/alinux --enable-shared --with-system-ffi \--enable-ipv6 \\
\--with-tcltk-includes='-I/opt/alinux/include' \--with-tcltk-libs='-L/opt/alinux/lib' | tee MYconfig.log

After running gmake test I found:
Ran 509 tests in 47.407s
FAILED (errors=2, skipped=8)
Ran 49 tests in 0.065s
FAILED (failures=2, skipped=1)
Ran 34 tests in 0.320s
FAILED (errors=2, skipped=6)
Ran 80 tests in 1.040s
FAILED (errors=2, skipped=20)
Ran 10 tests in 0.366s
FAILED (failures=1, skipped=2)
Ran 506 tests in 28.860s
FAILED (failures=6, errors=5, skipped=83)
Ran 97 tests in 21.921s
FAILED (failures=9, skipped=3)
I then tried to run ./python -m test -v test\_whatever
and got the following error:
$ pwd
/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/Python-3.4.2
$ ls -la lib\*
\-rw-r--r-- 1 surfer Internet 19562608 Feb 10 20:02 libpython3.4m.a
\-rwxr-xr-x 1 surfer Internet 13331408 Feb 10 20:02 libpython3.4m.so
$ ./python -m test -v test\_ssl
exec(): 0509-036 Cannot load program ./python because of the following errors:
0509-150 Dependent module libpython3.4m.so could not be loaded.
0509-022 Cannot load module libpython3.4m.so.
0509-026 System error: A file or directory in the path name does not exist.
I would really appreciate some help in determining what I am doing wrong.
As I said in the beginning I am primarily a user and not a developer. I can solve
some fairly simple problems; but that about it.
I am guessing that there is some kind of linking problem; but I do not know
how to solve this problem.
I tried this:
$ LDFLAGS=-L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/Python-3.4.2
$ export LDFLAGS
and got the same results.


_______________________________________________

Python-Dev mailing list

Python-Dev@python.org

https://mail.python.org/mailman/listinfo/python-dev

Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org