aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: make error: wx-config --list >> gtk-ansi-release-2.6  (Read 3060 times)

Guest

  • Guest
make error: wx-config --list >> gtk-ansi-release-2.6
« on: September 24, 2005, 11:06:25 PM »

Im using SUSE 9.3 pro x86-64, and have wxGTK 2.6.0 installed.
When configuring I get warned that "gd-lib >= 2.0.0 or gd.h not found" which I find odd since I have wxGTK installed.

# ./configure --enable-wxcas -q
configure: WARNING: wxWidgets >=2.5.0: Using wx-config --libs base,net
config.status: creating po/POTFILES
config.status: creating po/Makefile


  Configure script has finished system check.

  Configured aMule 2.0.3 for 'x86_64-suse-linux'.

  aMule enabled options:

  **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local
  Should aMule be compiled with i18n support?                yes
  Should aMule be compiled in debug mode?                    yes
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               no
  Should aMule be compiled with taskbar icon support?        yes
  Should aMule be compiled with old GTK taskbar icon?        no
  Should aMule be compiled with UTF-8 taskbar icon support?  no
  Should aMule be linked against patched gsocket?            no
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            embedded

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no
  Should aMule GUI Client be built?                          no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no
  Should aMule WebServer GUI be built?                       no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              yes

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.6.0
                                       crypto++              embedded
                                       zlib                  1.2.2


 WARNING! gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
 amuleweb will be compiled but file download progress bar images will NOT be generated.
 See the above error on gd check for solutions.

# make
make  all-recursive
make[1]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3'
Making all in m4
make[2]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/m4'
Making all in docs
make[2]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs'
Making all in man
make[3]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs/man'
make[3]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs'
make[2]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/docs'
Making all in src
make[2]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src'
Making all in utils
make[3]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils'
Making all in xas
make[4]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas'
Making all in docs
make[5]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas/docs'
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas/docs'
make[5]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas'
make[4]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/xas'
Making all in wxCas
make[4]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/wxCas'
Making all in src
make[5]: Entering directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/lib/wx/include/gtk-ansi-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1   -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0   -MT wxcas-onlinesig.o -MD -MP -MF ".deps/wxcas-onlinesig.Tpo" -c -o wxcas-onlinesig.o `test -f 'onlinesig.cpp' || echo './'`onlinesig.cpp; \
then mv -f ".deps/wxcas-onlinesig.Tpo" ".deps/wxcas-onlinesig.Po"; else rm -f ".deps/wxcas-onlinesig.Tpo"; exit 1; fi
In file included from onlinesig.h:49,
                 from onlinesig.cpp:46:
/usr/include/wx-2.6/wx/filename.h: In static member function `static wxChar wxFileName::GetPathSeparator(wxPathFormat)':
/usr/include/wx-2.6/wx/filename.h:355: error: ambiguous overload for 'operator[]' in 'wxFileName::GetPathSeparators(wxPathFormat)()[0]'
/usr/include/wx-2.6/wx/filename.h:355: error: candidates are: operator[](const wxChar*, long int)
/usr/include/wx-2.6/wx/string.h:766: error:                 wxChar& wxString::operator[](int)
/usr/include/wx-2.6/wx/string.h:768: error:                 wxChar& wxString::operator[](long unsigned int)
make[5]: *** [wxcas-onlinesig.o] Error 1
make[5]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/wxCas/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils/wxCas'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/misc/pub/install/amule/aMule-2.0.3'
make: *** [all] Error 2
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: make error: wx-config --list >> gtk-ansi-release-2.6
« Reply #1 on: September 25, 2005, 07:44:35 AM »

That's a wx bug.  It may only happen with ANSI (non-Unicode) builds, because I haven't heard of it before.

By the way, gd.h is not a part of wxGTK.  It's part of a separate library.  You may need to install a package like "gd-dev" or "gd-devel" to get the header installed.
Logged

Guest

  • Guest
Re: make error: wx-config --list >> gtk-ansi-release-2.6
« Reply #2 on: September 25, 2005, 12:56:24 PM »

Where do I find a Unicode wxGTK?

I do have gd-devel 2.0.32-6 installed, so I find it strange that it can't find it????
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: make error: wx-config --list >> gtk-ansi-release-2.6
« Reply #3 on: September 26, 2005, 08:26:06 AM »

its a confiugre bug in 2.0.3
do --enable-cas, and it will find gd....

and where did you dl the wxGTk rpm from?
you can compile it yourself with --enable-unicode, this should fix the problem ken mentioned
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."