Mandrake Linux 10.1

Archives Forums/Linux Discussion/Mandrake Linux 10.1

splinux(Posted 2005) [#1]
I have installed Mandrake 10.1, but when i first run BMax, and compile an apps it said something like this:

usr bin ld: cannot fine -lGL
collect2: ld returned 1 exit status

What should i do to compile my programs?


LarsG(Posted 2005) [#2]
check the stickies (and forum), and see if you can find the similar packages for Mandrake..


splinux(Posted 2005) [#3]
i saw them, but i can't find the packages.
so i posted this topic.


LarsG(Posted 2005) [#4]
I did a quick search under this topic (linux), and it came up with a few threads...
You should check them out.. (I searched for "mandrake 10")

one thread that might help was this:
http://www.blitzbasic.com/Community/posts.php?topic=42234


splinux(Posted 2005) [#5]
i've installed gcc 3.4.1, maybe i need the gl stuff.
where could i find it?
i searched but i can't find it.


LarsG(Posted 2005) [#6]
Ole JR wrote (on the thread I posted the link to):

Now it is some kind of Gl-devel rpm missing..
On my Mandrake 10.1 it was libMesaGLU1-devel OR libMesaglut3-devel.. Not sure witch one....


you might want to try that..


splinux(Posted 2005) [#7]
i've downloaded them all. the day after tomorrow i'll tell you if they work.


splinux(Posted 2005) [#8]
no, scuse me, i've tryie to install them but they don't work.
so?


LarsG(Posted 2005) [#9]
I don't think I can give you any more help.. I haven't Mandrake installed... But I'd try to get hold of Ole JR, as I think he has got BlitzMax installed on Mandrake 10.1..


ghislain(Posted 2005) [#10]
mandrake 10.1 was one of the few linux-distribution which ran straight out of the box. even 3d-support and wireless! be sure to have the development packages selected...

ghislain


splinux(Posted 2005) [#11]
i don't know what packages to install.


splinux(Posted 2005) [#12]
could anyone help me?


Mark Tiffany(Posted 2005) [#13]
1) Can you confirm whether or not you instaled the developer packages that came with Mandrake?
2) Did you install the GL / Mesa packages that you downloaded?
3) Is the error message in Blitz still the same? Check carefully because there are some very similarly named dependencies. Most of the time you fix one thing, then find another problem.
4) Have you synchronised modules? (under the Program menu)
5) Have you run rebuild all modules? (under the Program menu)
6) I'm assuming you're able to run the IDE, and the error message is when compiling, not just running the IDE - can you confirm?

(I might be stating the obvious, but sometimes that's the best way!)


Perturbatio(Posted 2005) [#14]
This might be of use:
http://www.blitzbasic.com/Community/posts.php?topic=47860


Ole JR(Posted 2005) [#15]
True I have BlitzMax installed on Mandrake 10.1.
And from what i see you need the libMesaGLU1-devel-X.X.X rpm, that's the one with the libGL.a file anyway..

Try to search for 'libMesa' at www.rpmfind.net, if you can't find it anywhere else..


splinux(Posted 2005) [#16]
when i install the package it says:
"some requetestd packages can't be installed:
libMesaGLU1-devel-5.0.2-9mdk.i586 (because devel(libX11) isn't satisfied)
do you confirm? "


splinux(Posted 2005) [#17]
when i recompile the modules it says: X11/Xlib.h no such file or directory.

what should i do?


Perturbatio(Posted 2005) [#18]
http://www.blitzbasic.com/Community/posts.php?topic=47106#523782


Ole JR(Posted 2005) [#19]
Hm.. libxorg-x11-devel-x.x.x rpm then..
Because that's the only devel package for X11 i have installed..


splinux(Posted 2005) [#20]
where can i download it? i can't find a mandrake version...


splinux(Posted 2005) [#21]
i found it.
now the problem is:
when i install the rpm it says:
some packages can't be installed:
libxorg-x11-devel-6.7.0-4.4.101mdk.i586 (because devel(libfreetype) isn't satisfied)


splinux(Posted 2005) [#22]
ok. i've downloaded it and some other packages. now there is another problem:
at first the error was: /usr/bin/ld: cannot fine -lGL

now the only error when i build modules AND/OR compile programs is:
/usr/bin/ld: cannot fine -lGLU

how can i resolve it?


splinux(Posted 2005) [#23]
NOW IT WORKS!!! I've downloaded, from the same mirror, the first files you says, and now it works!!!


LarsG(Posted 2005) [#24]
congratulations.. :)


Ole JR(Posted 2005) [#25]
Gratz :)

You know.. I use Mandrake Control Center-> Software Managment to do the rpm installs/upgrades.. That's why i really don't know what packages depend on each other..


Sub_Zero(Posted 2005) [#26]
That's what I also recommend, atleast when using Mandrake/Mandriva... Compiling packages from source can be a pain and might mess things up, if you don't know what you're doing.

Another way is to find all packages you need on the mirrorsites (for example: ftp://ftp.uio.no/linux/Mandrakelinux/official/10.1/SRPMS/main/ ), then install them one by one with "rpm -i packagefile". It will atleast work and give you less headache then trying to compile certain stuff from source.


splinux(Posted 2005) [#27]
i did it in that way.
i found a mirror and then downloaded all the requested files.


splinux(Posted 2005) [#28]
i've just installed BMax1.12, but now the problem is:
it gave me an error similar to the firsts: /usr/bin/ld: cannot fine -lasound

What packages have i to install?


splinux(Posted 2005) [#29]
pardon, i've resolved it searching over the net for the same ld problem...
sorry...


splinux(Posted 2005) [#30]
when i compile some apps i receive a message:
X Error of failed request: GLXUnsupportedPrivateRequest
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 16 (X_GLXVendorPrivate)
Serial number of failed request: 1364
Current serial number in output stream: 1365

Some ideas about the problem?


splinux(Posted 2005) [#31]
ok. i'm really sorry, again this was a resolved problem: i searched on the net and downloaded the mesa library. so it all worked.

PS: @Mark: very good the MaxGUI.
:)