Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 12:09
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Problem compiling MahJongg3D for Linux
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Semme

Joined: 07 Aug 2011
Posts: 3978
Location: World_Hub

PostPosted: Sat 10 Sep 2011, 16:19    Post_subject:  Problem compiling MahJongg3D for Linux  

Hi Gang,

Would someone be kind enough to point out what I might not have in place here on my 5.28 Pup. Working with the 0.96v found here, I've got my devx and src files loaded, my qt4-qmake and qt4-dev-tools installed and I've exported my qtdir [export QTDIR=/usr/lib/qt] with a soft link from /usr/share/qt4/mkspecs to my export dir. This last bit a guess because I was encountering the following output:

Code:
make[1]: *** No rule to make target `/usr/lib/qt/mkspecs/default/qmake.conf', needed by `Makefile'.  Stop.


In addition to the above I've replaced the QMAKE line in Makefile.doit with "qmake-qt4" in an effort to get this worked out.

Here's where I stand at the moment. As a novice compiler, what am I missing?

Something to do with this [/usr/bin/uic-qt4: Command not found]?

Code:
# make
make -f Makefile.doit PREFIX=/usr/local GAMEDATA_PREFIX=/usr/local
make[1]: Entering directory `/root/dwnlds/mahjongg3d.release'
cd src && qmake-qt4 src.pro -o Makefile
cd src && \
   echo -n "#define GAMEDATA_BASE_PATH " > gamedata_path.h && \
   echo -n \" >> gamedata_path.h && \
   echo -n /usr/local >> gamedata_path.h && \
   echo -n "/mahjongg3d" >> gamedata_path.h && \
   echo \" >> gamedata_path.h && \
   make -f Makefile
make[2]: Entering directory `/root/dwnlds/mahjongg3d.release/src'
/usr/bin/uic-qt4 MainDialogBase.ui -o ui_MainDialogBase.h
make[2]: /usr/bin/uic-qt4: Command not found
make[2]: *** [ui_MainDialogBase.h] Error 127
make[2]: Leaving directory `/root/dwnlds/mahjongg3d.release/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/root/dwnlds/mahjongg3d.release'
make: *** [all] Error 2


I've got the Xorg_High driver for my Intel chip installed as well.

TIA for a little enlightenment..
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Sat 10 Sep 2011, 23:54    Post_subject:  

It needs to be compled against Qt3, not Qt4. If you want it already compiled it's available either here, or else here.
Back to top
View user's profile Send_private_message 
Semme

Joined: 07 Aug 2011
Posts: 3978
Location: World_Hub

PostPosted: Sun 11 Sep 2011, 12:31    Post_subject:  

Thanks. The part that's confusing is not knowing where to get the correct qt3 packages I need for a successful compile. The ones in PPM don't, as far as I can tell, look appropriate. Aside from this and two pkg dependencies I was missing, I found there's not much light at the end of the tunnel for my Intel 82845G under the available Xorg_High drivers. Now your pkg opens fine without this driver- but without any graphics.. understandable. With the driver installed, X crashes out with a longstanding Intel/Xorg incompatibility.. a rather unharmonious marriage. I know, I'm blessed.

Code:
Failed to submit batchbuffer: Input/output error


What I'm gonna do is try'n compile over on my other box and see if I can't make any headway..
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 6689
Location: lisbon

PostPosted: Tue 13 Sep 2011, 00:08    Post_subject:  

@Semme,

I'd recommend trying a few other GLX-based apps, before trying to compile Mahjongg-3D, as I suspect the problem is your graphics chipset isn't supported, rather than anything wrong with the .pet you tried. Maybe try a simple, small, app like SoundRecEd.

If you did want to try compiling it, it would probably be easiest if you downloaded, & extracted, a complete Qt3 package. This slackware package, here looks good. It probably just needs QTDIR & QMAKESPEC set to the right locations.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Compiling
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0534s ][ Queries: 11 (0.0052s) ][ GZIP on ]