Build problems with debiann linux

Archives Forums/Linux Discussion/Build problems with debiann linux

Ian Lett(Posted 2012) [#1]
hi guys,

i have been tinkering with Linux for a project, and i cant get bmax to compile, i have done a standard debian install with LXDE as a gui, i have also installed a python environment that works fine, but when i try a build in max i get this error at the link stage

/usr/bin/ld: cannot find -lX11

i am very new to Linux so any simple help will be much appreciated
regards
Ian


Htbaa(Posted 2012) [#2]
You're missing the X11 development headers.

On Ubuntu I can simply do a: sudo apt-get install libx11-dev
The exact package name could be different for Debian though.


markcw(Posted 2012) [#3]
Debian uses aptitude I think so the following line should install everything needed for Max:
sudo aptitude install gcc g++ libxxf86vm-dev libglu1-mesa-dev x11proto-core-dev x11proto-gl-dev x11proto-kb-dev libasound2-dev build-essential libidn11-dev libxft-dev x11proto-xext-dev libxpm-dev

Or try running the BlitzMax Linux dependencies script which does the same thing.

Last edited 2012


Ian Lett(Posted 2012) [#4]
thanks guys its compiling and linking fine now


GfK(Posted 2012) [#5]
I thought Debbie-Ann Linux was a Scandinavian golfer?