News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
Build process
Author Message
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #1
Build process

As I've still got some time to spare, I was looking into debugging the Red Color Channel problem (see here).
I installed all required packages as in packages.txt, but I did not succeed in building the whole thing. It stopped with this complaint:

Code:
In file included from bind-fltk-ext.cxx:24:
fltk.cxx:26: fatal error: FL/Fl.h: No such file or directory
compilation terminated.
make[2]: *** [bind-fltk-ext.o] Error 1
make[2]: Leaving directory `/home/jpjacobs/sandbox/murgalua/murgaLua/src'
make[1]: *** [linuxStatic] Error 2
make[1]: Leaving directory `/home/jpjacobs/sandbox/murgalua/murgaLua/src'
make: *** [linuxStatic] Error 2


I checked and /usr/include/FL/Fl.h exists and this does not give problems with the other fltk examples (in C++) I tried to compile.

So what's there more to do to compile the code?

PS: Having the code in something like github would be significantly easier to send in patches etc.

12-22-2010 08:13 PM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #2
RE: Build process

What does fltk-config tell you? Maybe it's pointing to /usr/local/include or something like that.

12-23-2010 01:42 AM
Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #3
RE: Build process

Well, I don't have a clue what fltk-config option I'm looking for... just that it works nicely with the helloworld example that comes with it (through fltk-config even).

12-23-2010 06:49 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #4
RE: Build process

jpjacobs Wrote:
Well, I don't have a clue what fltk-config option I'm looking for... just that it works nicely with the helloworld example that comes with it (through fltk-config even).


If you are using my batch files they expect things to be installed to /usr/local and not /usr ...

I think that is your problem ...

This line in the script "export INSTALL_TOP=/usr/local"

This post was last modified: 12-25-2010 07:15 AM by JohnMurga.

12-25-2010 07:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #5
RE: Build process

I tried replacing all occurances of /usr/local by /usr, to no avail ... Still getting the same error.
Any other ideas?
Thanks, JP

12-28-2010 10:48 PM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #6
RE: Build process

I'm no compiling wizard, but maybe add -I/usr/include to CXXFLAGS in Makefile

This post was last modified: 12-29-2010 02:10 AM by mikshaw.

12-29-2010 02:09 AM
Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #7
RE: Build process

Good idea, but still the same old error...

12-29-2010 02:15 AM
Find all posts by this user Quote this message in a reply
mikshaw
Senior Member
****


Posts: 522
Group: Registered
Joined: Apr 2007
Status: Offline
Reputation: 5
Post: #8
RE: Build process

Okay then...

What about ln -s /usr/include/FL /usr/local/include/FL
I don't know if this will help, considering fltk-config is probably still pointing to /usr/include

You might end up having to reinstall Fltk with /usr/local prefix

12-29-2010 02:40 AM
Find all posts by this user Quote this message in a reply
JohnMurga
Administrator
*******


Posts: 381
Group: Administrators
Joined: Apr 2007
Status: Offline
Reputation: 2
Post: #9
RE: Build process

jpjacobs Wrote:
I tried replacing all occurances of /usr/local by /usr, to no avail ... Still getting the same error.
Any other ideas?
Thanks, JP


Sorry, been away ...

Where did you replace this ?

01-14-2011 12:59 AM
Visit this user's website Find all posts by this user Quote this message in a reply
jpjacobs
Member
***


Posts: 113
Group: Registered
Joined: Jul 2007
Status: Offline
Reputation: 0
Post: #10
RE: Build process

In:

* tools/build/build-LinuxAll.sh
* tools/build/build-LinuxXft.sh
* src/Makefile
* tools/build/patches/cross/lua_Make-top.patch

I think that's all, but still a no go.

01-14-2011 02:53 AM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: