aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compling-problems..  (Read 2181 times)

elfstone

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
compling-problems..
« on: November 29, 2004, 07:59:11 PM »

once again i have compiling-problems...
Configure says:

Quote
 **** General Libraries and Tools ****
  Should ccache support be enabled?                        no
  Libraries aMule will use to build:
                                       wxWidgets          2.5.3
                                       GTK                1.2.10


make gives this and afterwards more errors.

Quote
make[6]: Entering directory `/home/muellert/download/aMule-2.0.0rc7/src/utils/wxCas/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../..    -I/usr/local/lib/wx/include/base-ansi-release-2.5 -I/usr/local/include/wx-2.5 -DwxUSE_GUI=0 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES   -DUSE_EMBEDDED_CRYPTO  -O2  -MT wxcas-wxcas.o -MD -MP -MF ".deps/wxcas-wxcas.Tpo" \
  -c -o wxcas-wxcas.o `test -f 'wxcas.cpp' || echo './'`wxcas.cpp; \
then mv -f ".deps/wxcas-wxcas.Tpo" ".deps/wxcas-wxcas.Po"; \
else rm -f ".deps/wxcas-wxcas.Tpo"; exit 1; \
fi
wxcas.cpp:51:2: #error You must set wxUSE_PRINTING_ARCHITECTURE to 1 in setup.h to compile wxCas.
In file included from /usr/include/wx/gdicmn.h:29,
                 from /usr/include/wx/image.h:20,
                 from wxcas.cpp:54:

What am i missing this time? i installed wxbase 2.5.3 from source, and did ldconfig.
So, what do i have to install/reinstall/reconfigure/rewhatever?
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compling-problems..
« Reply #1 on: November 29, 2004, 08:28:33 PM »

wxbase? what for?
isntall wxgtk only.

Greetings!
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: compling-problems..
« Reply #2 on: November 30, 2004, 12:19:07 PM »

You can build aMule if you configure with --disable-wxcas.
Some wxWidgets installations don't set the wxUSE_PRINTING_ARCHITECTURE to 1, and this is needed by wxCas (don't ask me what for, i'll check that). This way you can build everything but wxCas.
Logged
concordia cum veritate

elfstone

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 41
Re: compling-problems..
« Reply #3 on: November 30, 2004, 12:38:06 PM »

actually i found the --disable-wxcas option here and tried it, but it didnt help. I simply got confused by all the wxbase, wxgtk, wxall stuff and installing wxgtk helped. I can compile and install now, i can check tonight if i can also start amule properly.

thx for the help
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: compling-problems..
« Reply #4 on: November 30, 2004, 04:00:29 PM »

good luck! :)
Logged