aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SuSE9.1 compilation problem with the current cvs release  (Read 5354 times)

Domi2005

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://media-universe.com
SuSE9.1 compilation problem with the current cvs release
« on: February 14, 2005, 11:20:23 PM »

checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
./configure: line 1: no: command not found
checking if wxWidgets version >=2.5.0 ... no
crypto check disabled, using embedded libs
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for ptrdiff_t... yes
checking whether closedir returns void... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for strerror in -lcposix... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for argz.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking for malloc.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getc_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.875, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for __argz_count... (cached) yes
checking for __argz_next... (cached) yes
checking for __argz_stringify... (cached) yes
checking for endpwent... yes
checking for floor... no
checking for ftruncate... yes
checking for getcwd... (cached) yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getmntent... (cached) yes
checking for getmntinfo... no
checking for getpass... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memchr... yes
checking for memmove... yes
checking for mempcpy... (cached) yes
checking for memset... yes
checking for munmap... (cached) yes
checking for nl_langinfo... yes
checking for select... yes
checking for setlocale... (cached) yes
checking for socket... yes
checking for sqrt... no
checking for stpcpy... (cached) yes
checking for strcasecmp... (cached) yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtoul... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for mkdir... yes
checking for getrlimit... yes
checking for setrlimit... yes
checking whether SysTray should be compiled... yes
checking whether SysTray should use UTF-8 strings... no
checking whether pure GTK code should be compiled... yes
checking for a readline compatible library... no
checking whether ccache support should be added... no
configure: creating ./config.status
config.status: creating po/POTFILES
config.status: creating po/Makefile
 With wxWidgets versions prior 2.5, you need wxBase library to compile:
          amuleweb amulecmd and alcc


make  all-recursive

/usr/include/wx/window.h:603: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:603: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:604: error: syntax error before `&' token
/usr/include/wx/window.h:605: error: non-member function `bool IsExposed(...)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool IsExposed(...)':
/usr/include/wx/window.h:612: error: syntax error before `&' token
/usr/include/wx/window.h:612: error: virtual outside class declaration
/usr/include/wx/window.h:613: error: syntax error before `&' token
/usr/include/wx/window.h:613: error: virtual outside class declaration
/usr/include/wx/window.h:615: error: syntax error before `)' token
/usr/include/wx/window.h:616: error: syntax error before `)' token
/usr/include/wx/window.h:620: error: virtual outside class declaration
/usr/include/wx/window.h:621: error: non-member function `const wxCursor& GetCursor()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `const wxCursor& GetCursor()':
/usr/include/wx/window.h:621: error: `m_cursor' undeclared (first use this function)
/usr/include/wx/window.h: In function `wxCursor& GetCursor()':
/usr/include/wx/window.h:622: error: new declaration `wxCursor& GetCursor()'
/usr/include/wx/window.h:621: error: ambiguates old declaration `const wxCursor& GetCursor()'
/usr/include/wx/window.h: In function `const wxCursor& GetCursor()':
/usr/include/wx/window.h:626: error: virtual outside class declaration
/usr/include/wx/window.h:626: error: function `bool SetFont(const wxFont&)' is initialized like a variable
/usr/include/wx/window.h:627: error: non-member function `const wxFont& GetFont()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `const wxFont& GetFont()':
/usr/include/wx/window.h:627: error: `m_font' undeclared (first use this function)
/usr/include/wx/window.h: In function `wxFont& GetFont()':
/usr/include/wx/window.h:628: error: new declaration `wxFont& GetFont()'
/usr/include/wx/window.h:627: error: ambiguates old declaration `const wxFont& GetFont()'
/usr/include/wx/window.h: In function `const wxFont& GetFont()':
/usr/include/wx/window.h:638: error: virtual outside class declaration
/usr/include/wx/window.h:638: error: non-member function `int GetCharHeight()' cannot have `const' method qualifier
/usr/include/wx/window.h:638: error: function `int GetCharHeight()' is initialized like a variable
/usr/include/wx/window.h:639: error: virtual outside class declaration
/usr/include/wx/window.h:639: error: non-member function `int GetCharWidth()' cannot have `const' method qualifier
/usr/include/wx/window.h:639: error: function `int GetCharWidth()' is initialized like a variable
/usr/include/wx/window.h:648: error: virtual outside class declaration
/usr/include/wx/window.h:648: error: non-member function `void GetTextExtent(const wxString&, int*, int*, int*, int*, const wxFont*)' cannot have `const' method qualifier
/usr/include/wx/window.h:648: error: function `void GetTextExtent(const wxString&, int*, int*, int*, int*, const wxFont*)' is initialized like a variable
/usr/include/wx/window.h:655: error: non-member function `void ClientToScreen(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void ClientToScreen(int*, int*)':
/usr/include/wx/window.h:655: error: `DoClientToScreen' undeclared (first use this function)
/usr/include/wx/window.h:657: error: non-member function `void ScreenToClient(int*, int*)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `void ScreenToClient(int*, int*)':
/usr/include/wx/window.h:657: error: `DoScreenToClient' undeclared (first use this function)
/usr/include/wx/window.h:661: error: non-member function `wxPoint ClientToScreen(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxPoint ClientToScreen(const wxPoint&)':
/usr/include/wx/window.h:661: error: return type `struct wxPoint' is incomplete
/usr/include/wx/window.h:662: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:662: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:663: error: `DoClientToScreen' undeclared (first use this function)
/usr/include/wx/window.h:665: error: invalid use of undefined type `struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `struct wxPoint'
/usr/include/wx/window.h:669: error: non-member function `wxPoint ScreenToClient(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxPoint ScreenToClient(const wxPoint&)':
/usr/include/wx/window.h:669: error: return type `struct wxPoint' is incomplete
/usr/include/wx/window.h:670: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:670: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:671: error: `DoScreenToClient' undeclared (first use this function)
/usr/include/wx/window.h:673: error: invalid use of undefined type `struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `struct wxPoint'
/usr/include/wx/window.h:678: error: non-member function `wxHitTest HitTest(int, int)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxHitTest HitTest(int, int)':
/usr/include/wx/window.h:678: error: `DoHitTest' undeclared (first use this function)
/usr/include/wx/window.h:681: error: non-member function `wxHitTest HitTest(const wxPoint&)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxHitTest HitTest(const wxPoint&)':
/usr/include/wx/window.h:681: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:681: error: invalid use of undefined type `const struct wxPoint'
/usr/include/wx/utils.h:46: error: forward declaration of `const struct wxPoint'
/usr/include/wx/window.h:681: error: `DoHitTest' undeclared (first use this function)
/usr/include/wx/window.h:688: error: non-member function `wxBorder GetBorder()' cannot have `const' method qualifier
/usr/include/wx/window.h:704: error: non-member function `bool HasScrollbar(int)' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool HasScrollbar(int)':
/usr/include/wx/window.h:714: error: virtual outside class declaration
/usr/include/wx/window.h:714: error: function `void SetScrollbar(int, int, int, int, bool)' is initialized like a variable
/usr/include/wx/window.h:715: error: virtual outside class declaration
/usr/include/wx/window.h:715: error: function `void SetScrollPos(int, int, bool)' is initialized like a variable
/usr/include/wx/window.h:716: error: virtual outside class declaration
/usr/include/wx/window.h:716: error: non-member function `int GetScrollPos(int)' cannot have `const' method qualifier
/usr/include/wx/window.h:716: error: function `int GetScrollPos(int)' is initialized like a variable
/usr/include/wx/window.h:717: error: virtual outside class declaration
/usr/include/wx/window.h:717: error: non-member function `int GetScrollThumb(int)' cannot have `const' method qualifier
/usr/include/wx/window.h:717: error: function `int GetScrollThumb(int)' is initialized like a variable
/usr/include/wx/window.h:718: error: virtual outside class declaration
/usr/include/wx/window.h:718: error: non-member function `int GetScrollRange(int)' cannot have `const' method qualifier
/usr/include/wx/window.h:718: error: function `int GetScrollRange(int)' is initialized like a variable
/usr/include/wx/window.h:722: error: syntax error before `*' token
/usr/include/wx/window.h:722: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void ScrollWindow(...)':
/usr/include/wx/window.h:727: error: virtual outside class declaration
/usr/include/wx/window.h: In function `bool ScrollLines(int)':
/usr/include/wx/window.h:728: error: virtual outside class declaration
/usr/include/wx/window.h: In function `void SetAutoLayout(bool)':
/usr/include/wx/window.h:806: error: `m_autoLayout' undeclared (first use this function)
/usr/include/wx/window.h:807: error: non-member function `bool GetAutoLayout()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `bool GetAutoLayout()':
/usr/include/wx/window.h:810: error: virtual outside class declaration
/usr/include/wx/window.h:816: error: non-member function `wxSizer* GetSizer()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxSizer* GetSizer()':
/usr/include/wx/window.h:816: error: `m_windowSizer' undeclared (first use this function)
/usr/include/wx/window.h: In function `void SetContainingSizer(wxSizer*)':
/usr/include/wx/window.h:819: error: `m_containingSizer' undeclared (first use this function)
/usr/include/wx/window.h:820: error: non-member function `wxSizer* GetContainingSizer()' cannot have `const' method qualifier
/usr/include/wx/window.h: In function `wxSizer* GetContainingSizer()':
/usr/include/wx/window.h:837: error: `wxSysColourChangedEvent' undeclared (first use this function)
/usr/include/wx/window.h:837: error: `event' undeclared (first use this function)
/usr/include/wx/window.h:837: error: variable or field `OnSysColourChanged' declared void
/usr/include/wx/window.h:837: confused by earlier errors, bailing out
make[4]: *** [amule-AddFriend.o] Error 1
make[4]: Leaving directory `/root/amule-cvs/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/amule-cvs'
make: *** [all] Error 2


please help me :(
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: SuSE9.1 compilation problem with the current cvs release
« Reply #1 on: February 15, 2005, 01:34:07 AM »

Bogus wxGTK.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
RE: SuSE9.1 compilation problem with the current cvs release
« Reply #2 on: February 15, 2005, 02:15:46 AM »

Quote
Originally posted by Domi2005
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
./configure: line 1: no: command not found
checking if wxWidgets version >=2.5.0 ... no
crypto check disabled, using embedded libs
...
please help me :(

You lack wxGTK. Get the necessary rpms here:
http://www.amule.org/files/details.php?file=28
http://www.amule.org/files/details.php?file=26
http://www.amule.org/files/details.php?file=25

uninstall any previous versions of wxGTK, wxGTK-devel and wxBase. Then install the downloaded rpms.

If you don't want to compile, get aMule for SUSE 9.1 here:
http://www.amule.org/files/details.php?file=46

Cheers!
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: SuSE9.1 compilation problem with the current cvs release
« Reply #3 on: February 15, 2005, 08:25:08 AM »

also ;)

while you are compiling DONT forget to set the 2symlinks like shown in the howto at http://wiki.amule.org ;) or it will fail again.

and you lack gtk-devel !! aswell ;)

another note: dont compile as root in SuSE or you will end up with error
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."

Domi2005

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
    • http://media-universe.com
Re: SuSE9.1 compilation problem with the current cvs release
« Reply #4 on: February 15, 2005, 10:16:09 AM »

oh my god, how many things must I notice to compile a program -_-. Ok Thanks, but I don't know why wx isn't installed proper. Ok I will try it, thanks for your help.
« Last Edit: February 15, 2005, 10:21:03 AM by Domi2005 »
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: SuSE9.1 compilation problem with the current cvs release
« Reply #5 on: February 15, 2005, 02:01:09 PM »

Domi2005,

Most of the wx packages that comes with distributions are bogus. Don't ask me why or how they managed to screw it. ?(

Cheers! :)
Logged