Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#10869 closed defect (fixed)

Typo in configure.ac

Reported by: aab@… Owned by: rekkanoryo
Milestone: 2.6.5 Component: unclassified
Version: 2.6.4 Keywords:
Cc:

Description

The configure.ac file has the "-L" and "-l" option order reversed when attempting to use the found python library. Following is the patch I use.

diff -u pidgin-2.6.4/configure.ac.orig pidgin-2.6.4/configure.ac
--- pidgin-2.6.4/configure.ac.orig      2009-11-29 22:13:44.000000000 -0500
+++ pidgin-2.6.4/configure.ac   2009-12-02 00:43:04.753177000 -0500
@@ -1470,7 +1470,7 @@
                AC_CHECK_LIB(pthread, pthread_create, )
                AC_CHECK_LIB(util, openpty, )
                AC_CHECK_LIB(db, dbopen, )
-               PY_LIBS="-lpython$PY_VERSION -L$PY_EXEC_PREFIX/lib/python$PY_VER
SION/config"
+               PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython
$PY_VERSION"
                PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
                AC_DEFINE(USE_PYTHON, [1], [Define if python headers are availab
le.])
                AC_MSG_RESULT(ok)

Change History (2)

comment:1 Changed 9 years ago by darkrain42@…

  • Milestone set to 2.6.5
  • Resolution set to fixed
  • Status changed from new to closed

(In 8afdf9fa3c0c98a6735023230f285152f54c3a79):
Swap the order of -L and -l so that Solaris can find the Python libraries.

Patch from Paul "aab" Townsend. Closes #10869, #10716.

comment:2 Changed 9 years ago by datallah@…

(In 3bc270281fbb0f1322d25cf344feec8bb045862e):
* Plucked 8afdf9fa3c0c98a6735023230f285152f54c3a79 (f05c54b03e6bbfdbff38c01697fbd353a969e05e): Swap the order of -L and -l so that Solaris can find the Python libraries.

Patch from Paul \"aab\" Townsend. Closes #10869, #10716.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!