Bug 58301 - Info on building Koffice 1.2.1 with python2.2 on solaris 9
Summary: Info on building Koffice 1.2.1 with python2.2 on solaris 9
Status: RESOLVED FIXED
Alias: None
Product: koffice
Classification: Applications
Component: general (show other bugs)
Version: 1.2.1
Platform: Compiled Sources Solaris
: NOR wishlist
Target Milestone: ---
Assignee: KOffice List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-10 10:09 UTC by Lars Tunkrans
Modified: 2003-05-11 12:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Tunkrans 2003-05-10 10:09:00 UTC
Version:           1.2.1 (using KDE KDE 3.1.1a)
Installed from:    Compiled From Sources
Compiler:          gcc 3.2.2 
OS:          Solaris

When building the koffice python extension on Solaris 9 
I need to set  LIBPYTHON to:

LIBPYTHON="-lpython2.2 -lcurses -lpanel"

Then it also need the maths library but configure resolvs that by 
itself.

Configure IS testing for -lcurses  but not for -lpanel 
If another test for python libs which includes all three
-lm -lcurses -lpanel  is included it would work without 
external intervention.
Comment 1 Stephan Kulow 2003-05-11 12:14:58 UTC
Subject: kde-common/admin

CVS commit by coolo: 

adding another python case
CCMAIL: 58301-close@bugs.kde.org


  M +2 -1      acinclude.m4.in   2.363


--- kde-common/admin/acinclude.m4.in  #2.362:2.363
@@ -4202,7 +4202,8 @@
   KDE_TRY_LINK_PYTHON(m_and_thread_and_db, [$LIBPTHREAD -lm -ldb -ltermcap -lutil])
   KDE_TRY_LINK_PYTHON(pthread_and_dl, [$LIBPTHREAD $LIBDL -lutil -lreadline -lncurses -lm])
+  KDE_TRY_LINK_PYTHON(pthread_and_panel_curses, [$LIBPTHREAD $LIBDL -lm -lpanel -lcurses])
   KDE_TRY_LINK_PYTHON(m_and_thread_and_db_special, [$LIBPTHREAD -lm -ldb -lutil], [],
         [AC_MSG_WARN([it seems, Python depends on another library.
-    Pleae set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this
+    Please set LIBPYTHON to '-lpython$version -lotherlib' before calling configure to fix this
     and contact the authors to let them know about this problem])
         ])