Please help, I'm so close....

Miscellaneous Forums/General Discussion/Please help, I'm so close....

Okay, this is desperation, but if anyone can help this (last ?) little niggle to resolve me compiling in BMax in Fedora Core 4 You'll save the remainder of my friday night. I'm pleased I have the BMax IDE up and running however this is my minor compile hiccup now:

I've ended up with an /usr/bin/ld: cannot find -lX11

http://www.blitzbasic.com/Community/posts.php?topic=74511#845542


any help gratefully appreciated. Thanks.

Just take the rest of the night off!

thanks, watched the film 'next' with Nicolas Cage. Not a bad film, now how can I make my /usr/bin/ld find -lX11...?

try that xorg-x11-devel thing as mentioned [a /Community/posts.php?topic=50933]here]/a].

yes, I read that, I'll have to see if I can install xorg-x11-devel with yum, from the command line. I've tried to jusr double click on (various_ xorg11 stuff from my FC4 install DVD and that didn't alleviate the error.

In that post you mention rebuilding all the modules - is there a way to do this from command line ? could you tell me the syntax ?

thanks, BP.

bmk makemods brl
bmk makemods pub

Thanks Dreamora, I've also got my first compile to work within VMWare / FC4, just gonna try your bmk syntax now... I'll take it thats within the bmk directory ?

What eventually fixed it was the gentle nudge from Brucey for me to install:

xorg-x11-deprecated-libs

which needed

xorg-x11-devel-6.8.2-31.i386

which needed

pkgconfig and fontconfig-devel which needed

freetype-devel

It works! Like someone elses post - almost straight oute the box (;-). Thanks for the help.

Yes, within blitzmax\bin, where bmk can be found

Cheers Dreamora, quickly gonna do that then go for a walk. What a beautiful day.

Erm tried ./bmk first one -worked

the second one informed me that gcc 3.3 can't be found still - ah well, one little gremlin left.

sounds like you forgot to install GCC 3.3 (and g++3.3)
GCC 4 isn't the same as GCC 3.3

Am giving up for the moment until next weekend. Last night downloaded a version of GCC 3.3, successfully untarr'd it, started looking at the myriad of things you need to do to configure, build (test - optional) and finally install. It put me off....

I did get quite far though. If it is simply trying to build gcc (3.3) , renaming the object file that is subsequently created, moving the object file from gcc to gcc-3.3, moving that to /usr/bin then creating s symbolic link to it from bmax/bin - or could I simply build it within bmax/bin, naah, come to think of it I recall you have to stop the kernel looking at gcc4.00 (which comes with fedora).

Also, once I found a copy of g++ (after a few mins of searching managed to locate one with a .deb extension), suspect that it is solely for debian as opposed to FC4 as my FC4 would not 'recognsie' it. Haven't tried yum on it yet, but after my lack of joy with gcc-3.3 I'm... having a break.

Anyhoo - still compiled within Linux, albiet something very rudimentary - I didn't envisage getting that far!