This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 7.2 branch, configure problem, --with-python


> Hmmm, what if you try configure --with-python=/usr?
> That will approximate what I'm doing (only with me it's a
> non-standard install location).

I just rebuilt python-2.7 with --enable-shared and installed it at
a non-standard location.  And then configured GDB as follow:

    % CFLAGS='-g' ~/act/gdb-public/configure --with-python=/t.a/brobecke/python-2.7-shared

And I still see GDB being linked against the python DSO:

    % ldd gdb/gdb
    libpython2.7.so.1.0 => /t.a/brobecke/python-2.7-shared/lib/libpython2.7.so.1.0 (0x00007f5effa5f000)

For this to work, I did need my python-config.py patch, because
the compilation command was missing a -L/path/to/python/dso, without
which the configure check for libpython2.7 would fail.

In order to understand what is going on, you will probably have to
dig into your config.log file and see what the configure script is
doing. I'm starting to think that your python install might be screwed
or non-standard?

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]