[resolved] Error : "can't compile without OpenGL support"
#1
I've been trying to compile XBMC for the first time over the weekend, and running into problems with the above error. Any hints or tips to set me on the right track would be most appreciated.

Here's the bash script (basically a copy and paste from Readme.osx) I used >>> http://fergus.pastebin.com/m50d49830 <<<

And here's the latter half of the output copied from my SSH session >>> http://fergus.pastebin.com/m1e9f9410 <<<

For what it's worth, here's a copy of System Profile from a previous post I made a few days back >>> http://fergus.pastebin.com/f5b1dfb43 <<<

If it's at all relevant, I'm using SSH from another machine to access this Mac, since it's not got a keyboard or mouse attached.

I've already tried a fresh install of Macports 1.7 to no avail, and didn't spot any errors or warnings at all when running through the individual "port install" commands.

Any advice would be appreciated; hopefully I'm missing something straightforward and easy!

macports.conf >>> http://fergus.pastebin.com/m7e9a4e40 <<<
port installed >>> http://fergus.pastebin.com/m2899745c <<<
Reply
#2
iirc this is caused by an old xcode install. i'm sure davilla will correct me later if i remember wrong
Reply
#3
configure: error: can't compile without OpenGL support

that's your problem. pastebin config.log.



Also FYI, "make xbmc" might or might not work. The makefile stuff is still under construction.
Reply
#4
Thanks Davilla,

Here's the config.log >>> http://fergus.pastebin.com/m3c6ede93 <<<

Thanks,

Fergus.
Reply
#5
Fergus Wrote:Thanks Davilla,

Here's the config.log >>> http://fergus.pastebin.com/m3c6ede93 <<<

Thanks,

Fergus.

not ~/XBMC/xbmc/lib/cximage-6.0/zlib/config.log


~/XBMC/xbmc/config.log
Reply
#6
Doh!

http://fergus.pastebin.com/m7974f6b6
Reply
#7
For info, I've just tried a fresh install of xcode 3.1.2 (well, why not!), and that didn't make any difference.
Reply
#8
Fergus Wrote:For info, I've just tried a fresh install of xcode 3.1.2 (well, why not!), and that didn't make any difference.

try this.

make clean

autoconf
./configure
make externals more_libs
Reply
#9
Thanks Davilla,

This looks the similar to the commands I run through in my bash script, although you've requested a 'make clean' at the start of the sequence and are running 'configure' without the '--disable-debug' flag. Here's the results;

  1. The make command fails
    Quote:make: *** No rule to make target `clean'. Stop.
  2. The autoconf command reports nothing
  3. The configure command fails
    Quote:can't compile without OpenGL support

Thank you for your on-going assistance with this; it's greatly appreciated.

Here's all the output from the commands >>> http://fergus.pastebin.com/m60616304 <<<
Here's fresh config.log >>> http://fergus.pastebin.com/m329c68f <<<
Reply
#10
ok, now that I'm paying attention.

xbmc/screensavers/rsxs-0.9 is having problems configuring.


it's looking for includes in "/usr/X11/lib" and "/usr/X11/include". Do those exist on your box?

"ls -la /usr/X11"
Reply
#11
rsxs-0.9 configure params comes from configure.in. autoconf makes configure from configure.in.

This is the setup for rsxs-0.9 from configure.in

Code:
./configure \
      CFLAGS="-fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
      CXXFLAGS="-fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
      LDFLAGS="-L/opt/local/lib" \
      LIBS="-lz" \
      --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib \
      --without-xscreensaver \
      --disable-sound \
      --disable-cyclone \
      --disable-fieldlines \
      --disable-flocks \
      --disable-flux \
      --disable-helios \
      --disable-hyperspace \
      --disable-lattice \
      --disable-skyrocket

you can cd into "xbmc/screensavers/rsxs-0.9" and do the above directly to try and debug this. There's something different about your box. Something is not in the default location.
Reply
#12
Looks like they exist. Not sure what permissions they should have;

Quote:LoungeMini:XBMC dev$ ls -la /usr/X11
total 0
drwxr-xr-x 7 root wheel 238 May 5 20:35 .
drwxr-xr-x@ 10 root wheel 340 May 5 20:34 ..
drwxr-xr-x 108 root wheel 3672 Mar 6 23:11 bin
drwxr-xr-x 13 root wheel 442 May 5 20:35 include
drwxr-xr-x 87 root wheel 2958 Feb 11 22:34 lib
drwxr-xr-x 6 root wheel 204 May 2 03:17 man
drwxr-xr-x 8 root wheel 272 May 5 20:35 share
LoungeMini:XBMC dev$ ls -la /usr/X11/include
total 24
drwxr-xr-x 13 root wheel 442 May 5 20:35 .
drwxr-xr-x 7 root wheel 238 May 5 20:35 ..
drwxr-xr-x 33 root wheel 1122 May 5 20:35 GL
drwxr-xr-x 89 root wheel 3026 May 5 20:35 X11
drwxr-xr-x 11 root wheel 374 Aug 23 2008 cairo
drwxr-xr-x 5 root wheel 170 Aug 26 2008 fontconfig
drwxr-xr-x 3 root wheel 102 Aug 26 2008 freetype2
-rw-r--r-- 1 root wheel 3890 Aug 26 2008 ft2build.h
drwxr-xr-x 4 root wheel 136 Aug 23 2008 libpng12
drwxr-xr-x 4 root wheel 136 Aug 23 2008 pixman-1
lrwxr-xr-x 1 root wheel 14 May 5 20:35 png.h -> libpng12/png.h
lrwxr-xr-x 1 root wheel 18 May 5 20:35 pngconf.h -> libpng12/pngconf.h
drwxr-xr-x 28 root wheel 952 Aug 23 2008 xcb
LoungeMini:XBMC dev$
Reply
#13
Fergus Wrote:Looks like they exist. Not sure what permissions they should have;

permissions are fine. root/wheel owns /usr
Reply
#14
this box does have a monitor attached ?
Reply
#15
davilla Wrote:rsxs-0.9 configure params comes from configure.in. autoconf makes configure from configure.in.

This is the setup for rsxs-0.9 from configure.in

Code:
./configure \
      CFLAGS="-fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
      CXXFLAGS="-fPIC -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4" \
      LDFLAGS="-L/opt/local/lib" \
      LIBS="-lz" \
      --x-includes=/usr/X11/include --x-libraries=/usr/X11/lib \
      --without-xscreensaver \
      --disable-sound \
      --disable-cyclone \
      --disable-fieldlines \
      --disable-flocks \
      --disable-flux \
      --disable-helios \
      --disable-hyperspace \
      --disable-lattice \
      --disable-skyrocket

you can cd into "xbmc/screensavers/rsxs-0.9" and do the above directly to try and debug this. There's something different about your box. Something is not in the default location.

Tried above, and ended up with the same error >>> http://fergus.pastebin.com/m75941c7a <<<.

Will have a go at exploring further tomorrow and see if anything is clearer after a good nights sleep. Thanks for helping narrow down the scope of the problem, it really is greatly appreciated.
Reply

Logout Mark Read Team Forum Stats Members Help
[resolved] Error : "can't compile without OpenGL support"0