Results 1 to 1 of 1
Greetings,
First off I have virtually no experience in UNIX programming. So when I run into a problem while trying to install something that requires complation, etc. I'm lost.
Right ...
- 02-08-2010 #1Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
You should use wx-config program for compilation flags!
Greetings,
First off I have virtually no experience in UNIX programming. So when I run into a problem while trying to install something that requires complation, etc. I'm lost.
Right now I'm trying to install a package call FahMon which is a monitoring tool for the Folding@Home distributed computing project on RHEL5. I had to install a couple of wxGTK rpm packages 1st which I did. Then I tried to install FahMon.
The ./configure ran fine without errors. But the make keeps failing with the error:
In file included from /usr/local/include/wx-2.8/wx/wxprec.h:13,
from base.cpp:16:
/usr/local/include/wx-2.8/wx/defs.h:42:13: error: #error "No Target! You should use wx-config program for compilation flags!"
I tried 'wx-config --flags' and it generated the output:
-I/usr/local/lib/wx/include/gtk2-ansi-release-2.8 -I/usr/local/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
Tried exporting that to CFLAGS but didn't help.
Any ideas?
Thanks.


Reply With Quote
