aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Missing wx/unix/execute.h  (Read 2530 times)

blackfede

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 66
Missing wx/unix/execute.h
« on: January 05, 2007, 10:57:41 AM »

Hi! I'm trying to compile amule CVS 20070104, but it seems to complain about a missing wx/unix/execute.h when compiling amuled. My system is MacOS X 10.4.8, with wx 2.8 compiled by hand using gcc 3.3.

Wx configure flags:
Code: [Select]
--with-libiconv --with-libjpeg --with-libtiff --with-libpng --with-zlib --with-sdl --with-opengl --with-mac --disable-sdltest --enable-unicode --enable-debug --enable-display --enable-monolithic
Amule configure flags:
Code: [Select]
export LDFLAGS="-L/opt/local/lib" && ./configure -C --enable-ccache --enable-optimize --disable-monolithic --enable-amule-daemon --enable-amule-gui --enable-wxcas --enable-amulecmd --disable-nls --prefix="/Users/blackfede/amulecvs" --with-gdlib-prefix="/opt/local/lib/"
I've cleared completely the cache (ccache -cCz) before start compiling.

The error is:


Code: [Select]
if /opt/local/bin/ccache g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include -I/opt/local/lib/wx/include/mac-unicode-debug-2.8 -I/opt/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXMAC__  -DwxUSE_GUI=0  -I./libs -Ilibs -DAMULE_INSTALL_PREFIX="\"/Users/blackfede/amulecvs\"" -DAMULE_LOCALEDIR="\"/Users/blackfede/amulecvs/share/locale\"" -DAMULE_DAEMON  -DUSE_EMBEDDED_CRYPTO -W -Wall -Wshadow -Wundef -g -ggdb -fno-inline -D__DEBUG__ -fmessage-length=0 -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -O2  -DUSE_WX_EXTENSIONS -MT amuled-amuled.o -MD -MP -MF ".deps/amuled-amuled.Tpo" -c -o amuled-amuled.o `test -f 'amuled.cpp' || echo './'`amuled.cpp; \
then mv -f ".deps/amuled-amuled.Tpo" ".deps/amuled-amuled.Po"; else rm -f ".deps/amuled-amuled.Tpo"; exit 1; fi
In file included from CFile.h:29,
                 from PartFile.h:31,
                 from amuled.cpp:38:
SafeFile.h:201:2: warning: #warning DOCS
amuled.cpp:57:37: wx/unix/execute.h: No such file or directory
amuled.cpp: In member function `virtual int CDaemonAppTraits::WaitForChild(wxExecuteData&)':
amuled.cpp:351: error: invalid use of undefined type `struct wxExecuteData'
amule.h:71: error: forward declaration of `struct wxExecuteData'
amuled.cpp:353: error: invalid use of undefined type `struct wxExecuteData'
amule.h:71: error: forward declaration of `struct wxExecuteData'
amuled.cpp:364: error: invalid use of undefined type `struct wxExecuteData'
amule.h:71: error: forward declaration of `struct wxExecuteData'
amuled.cpp:370: error: invalid use of undefined type `struct wxExecuteData'
amule.h:71: error: forward declaration of `struct wxExecuteData'
make[3]: *** [amuled-amuled.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

At this point i guess three things: Your fault to include one file that in wxMac is not installed (not think really, but...) wxMac "make install" error , or (i think is this the real problem) my fault in configuring wx.

So I ask your opinion...And apologize if this should be posted in Mac section.
Logged
All troll are idiots and will go in /dev/null

blackfede

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 66
Re: Missing wx/unix/execute.h
« Reply #1 on: January 06, 2007, 03:23:31 PM »

The problem seen to come out again with aMule 2.1.3 and wxMac 2.6. Both compiled by hand...
EDIT: Oh, and if i copy the missing file from the source of wx all works fine!
« Last Edit: January 06, 2007, 03:24:40 PM by blackfede »
Logged
All troll are idiots and will go in /dev/null

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Missing wx/unix/execute.h
« Reply #2 on: January 06, 2007, 03:33:39 PM »

Seems like a problem in wx installation doens't it.
Logged

blackfede

  • Jr. Member
  • **
  • Karma: 3
  • Offline Offline
  • Posts: 66
Re: Missing wx/unix/execute.h
« Reply #3 on: January 06, 2007, 09:35:34 PM »

I think so, but I'm not the first tying to compile aMule-2.1.3 on Mac...Is it possible that no one else have this problem before? I'll try to ask in Mac forum, to Lionell77! Tanks for the opinion! :D
Logged
All troll are idiots and will go in /dev/null