Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

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.

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old September 9th, 2007   #1
Atomic Paperclip
First Cup of Ubuntu
 
Atomic Paperclip's Avatar
 
Join Date: Sep 2007
Beans: 3
Ubuntu 7.04 Feisty Fawn
Send a message via ICQ to Atomic Paperclip Send a message via Yahoo to Atomic Paperclip
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.
Atomic Paperclip is offline   Reply With Quote
Old September 9th, 2007   #2
Linux_Man
Way Too Much Ubuntu
 
Join Date: Jul 2007
Beans: 229
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?
Linux_Man is offline   Reply With Quote
Old September 9th, 2007   #3
Atomic Paperclip
First Cup of Ubuntu
 
Atomic Paperclip's Avatar
 
Join Date: Sep 2007
Beans: 3
Ubuntu 7.04 Feisty Fawn
Send a message via ICQ to Atomic Paperclip Send a message via Yahoo to Atomic Paperclip
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.
Atomic Paperclip is offline   Reply With Quote
Old September 9th, 2007   #4
Artificial Intelligence
Deus ex machina
 
Artificial Intelligence's Avatar
 
Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,763
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.
__________________


My Desktop - HD Slideshow/video
click FullHD button & double left click the video to fit your screen

My Blog
Artificial Intelligence is offline   Reply With Quote
Old September 9th, 2007   #5
Artificial Intelligence
Deus ex machina
 
Artificial Intelligence's Avatar
 
Join Date: Oct 2004
Location: Denmark - Scandinavia
Beans: 11,763
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
__________________


My Desktop - HD Slideshow/video
click FullHD button & double left click the video to fit your screen

My Blog
Artificial Intelligence is offline   Reply With Quote
Old September 10th, 2007   #6
Atomic Paperclip
First Cup of Ubuntu
 
Atomic Paperclip's Avatar
 
Join Date: Sep 2007
Beans: 3
Ubuntu 7.04 Feisty Fawn
Send a message via ICQ to Atomic Paperclip Send a message via Yahoo to Atomic Paperclip
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.
Atomic Paperclip is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:15 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry