Find the answer to your Linux question:
Results 1 to 2 of 2
I normally don't do programming on Linux so I don't know what to do here. I've downloaded a package and I'm trying to install it. I ran the ./configure without ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228

    Problem w/ make not finding files


    I normally don't do programming on Linux so I don't know what to do here. I've downloaded a package and I'm trying to install it. I ran the ./configure without a problem but the make fails with the following:

    Code:
    make[3]: Entering directory `/root/FahMon-2.3.99.1/wxcurl/src'
    /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include   -Wall -Wno-strict-aliasing -g -O2   -MT base.lo -MD -MP -MF .deps/base.Tpo -c -o base.lo base.cpp
    mkdir .libs
     g++ -DHAVE_CONFIG_H -I. -I../.. -I../../wxcurl/include -Wall -Wno-strict-aliasing -g -O2 -MT base.lo -MD -MP -MF .deps/base.Tpo -c base.cpp  -fPIC -DPIC -o .libs/base.o
    base.cpp:16:23: error: wx/wxprec.h: No such file or directory
    base.cpp:19:23: error: wx/wx.h: No such file or directory
    In file included from base.cpp:25:
    ../../wxcurl/include/wx/curl/base.h:32:22: error: wx/event.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:33:23: error: wx/string.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:34:25: error: wx/datetime.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:35:23: error: wx/stream.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:36:24: error: wx/mstream.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:37:24: error: wx/sstream.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:38:39: error: wx/intl.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:39:25: error: wx/filename.h: No such file or directory
    ../../wxcurl/include/wx/curl/base.h:51: error: expected constructor, destructor, or type conversion before ‚DECLARE_EXPORTED_EVENT_TYPE‚
    ../../wxcurl/include/wx/curl/base.h:63: error: expected class-name before ‚{‚ token
    ../../wxcurl/include/wx/curl/base.h:65: error: ‚wxEventType‚ has not been declared
    ../../wxcurl/include/wx/curl/base.h:66: error: ‚wxCurlBase‚ has not been declared
    These files that make can't find are in directory /usr/local/include/wx-2.8. How do I get make to look in that directory?

  2. #2
    Linux User
    Join Date
    May 2009
    Location
    Big River, Sask, Canada
    Posts
    342
    If you move the source to that directory and then run the commands again it should work.
    Last edited by Hal343; 08-18-2009 at 05:37 AM. Reason: punctuation
    Registered Linux User #420832

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •