![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() |
Compiling xu4
I'm trying to make xu4 under 7.04 and this is what I get:
g++ -DHAVE_BACKTRACE=1 -DHAVE_VARIADIC_MACROS=1 -Wall -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml2 -DICON_FILE=\"/usr/local/share/pixmaps/u4.bmp\" -DVERSION=\"1.0beta3\" -ggdb1 -rdynamic -c -o codex.o codex.cpp imagemgr.h:105: error: extra qualification ‘ImageMgr::’ on member ‘getSubImage’ make: *** [codex.o] Error 1 What am I missing here? I thought I installed all the right packages to get this to work. |
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2007
Beans: 223
Ubuntu 9.04 Jaunty Jackalope
|
Re: Compiling xu4
You have the build-essential package installed right? And your following the readme for the program your installing?
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() |
Re: Compiling xu4
I did not have build-essential installed. I installed it and got the same error.
Here is the instructions from the readme: COMPILING --------- Note that you need libxml2, SDL, the SDL development libraries & headers, and the SDL_mixer library to compile. TiMidity++ may be necessary on some platforms, too. Assuming they are present, type make in the src directory to build it. An executable called u4 is created. I had to guess at these packages, especially the SDL ones. If someone knows the exact names in 7.04, that would be great. |
|
|
|
|
|
#4 |
|
Deus ex machina
![]() Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,360
Kubuntu 9.10 Karmic Koala
|
Re: Compiling xu4
Just tried it with all libs, still same error happens to me too;
sudo aptitude update && sudo aptitude upgrade sudo aptitude install build-essential libsdl1.2-dev libsdl-mixer1.2-dev libxml2-dev Another way around would be alien the .rpm package though there aren't any gurantee it will work.
__________________
| Ubuntu Gamers Arena | Ubuntu Game List | PlayDeb! | Ubuntu Game Night | | My New Blog | My Computer | |
|
|
|
|
|
#5 |
|
Deus ex machina
![]() Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,360
Kubuntu 9.10 Karmic Koala
|
Re: Compiling xu4
This is not recommended - Do not use this with important libs or other system stuff - installing .rpm package from another distro (and then converting them) can break your system.
I have tested this for you so go ahead Download the binary .rpm package to your Desktop; Code:
sudo aptitude update && sudo aptitude upgrade sudo aptitude install alien cd ~/Desktop sudo alien -i xu4-1.0beta3-1.i386.rpm u4
__________________
| Ubuntu Gamers Arena | Ubuntu Game List | PlayDeb! | Ubuntu Game Night | | My New Blog | My Computer | |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() |
Re: Compiling xu4
Thanks, using alien allowed it to install.
Xu4 has other problems while running. Looks like a trip back to sourceforge now for me. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|