aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation 2.1.0 & 2.1.1 needs pangox-1.0  (Read 2357 times)

Ju1i3n

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Compilation 2.1.0 & 2.1.1 needs pangox-1.0
« on: March 19, 2006, 06:44:44 PM »

When linking in directory src/utils/wxcas/src and in src/ it fails because pango_x_... functions could not be found.
I solve it by modifying Makefiles of these directory with LIBS = -lpangox-1.0

It might be a problem with aMule configure script or with my wxGTK... I don't know.
If somebody has the same problem, modify your makefile and it will works fine.

Configuration:
Gentoo sparc64
Linux sparc 2.4.32-sparc-r2 (last stable kernel on sparc64)
wxGTK: 2.6.1
pango: 1.10.2

edit: It may be a problem with my wxGTK:
wx-config --libs
-pthread   -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6

nowhere -lpangox-1.0
« Last Edit: March 19, 2006, 06:54:54 PM by Ju1i3n »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
RE: Compilation 2.1.0 & 2.1.1 needs pangox-1.0
« Reply #1 on: March 19, 2006, 06:59:26 PM »

Quote
Originally posted by Ju1i3n
I solve it by modifying Makefiles of these directory with LIBS = -lpangox-1.0
Very creative solution, but the more obvious one is updating to wxGTK >= 2.6.2.

With GTK 2.8, these functions were moved from libgtk-x11 to libpangox. That's why they are not found. The wWidgets people solved this problem by removing all usage of these functions, starting with wxGTK 2.6.2.
Logged