LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-29-2010, 02:40 PM   #1
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Rep: Reputation: 6
Anybody compiled SGeMS-2.0 on 13.1 /32 or 64


As I am not really a guru on slack but neither a noob using it a couple of years . I cant seem to get this compiled ,, I need this to work for a specific part of my job or have to remove slackware from my work computer.

And I would rather die than revert to windows 7 ..

Can some ace guru try and compile and give me a detailed how to ..

I would be internally grateful .

package can be found at http://sgems.sourceforge.net/ and I installed all the dependencies and they seem to be ok ..
No package has ever bowled me over like this

Lawrence
 
Old 09-29-2010, 02:55 PM   #2
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Lawrence,

Can you give us some info on what version of Slackware you're using? Is is 32-bit or 64-bit?

Also, how are you trying to build and install the software?

EDIT: These instructions are for Ubuntu, but a lot of what's there can be used for Slackware.

One tip, try using src2pkg (see the link in my signature) to create a Slackware package.

Regards,

Last edited by Lufbery; 09-29-2010 at 03:00 PM.
 
Old 09-29-2010, 03:30 PM   #3
zasavage
Member
 
Registered: Sep 2010
Location: Bloemfontein , South Africa
Distribution: Slackware 13.37 and Slackware 14
Posts: 201

Original Poster
Rep: Reputation: 6
Thanks Drew

I have tried the Ubuntu how to but to no avail .. I have 2 machines here one 32 bit and one 64 bit and the package wont compile on either ,,.. I think I am over thinking it and just want a someone to also try ..

I am installing src2pkg as we speak and would give you a reply on that later .

I am still trying other means aswel

If I can get SAGA http://www.saga-gis.org/ to compile I can use that .. But these 2 programs are my Achilles heel ..

My latest make gave these errors ..

ome/savage/Downloads/SGeMS-2.0/GsTLAppli/utils/directory.h:47: warning: unused parameter 'name'
manager.cpp: In member function 'std::string Manager::finish(std::string&)':
manager.cpp:94: warning: comparison between signed and unsigned integer expressions
manager.cpp:96: error: no matching function for call to 'QString::startsWith(const char*, bool)'
/usr/lib/qt/include/QtCore/qstring.h:231: note: candidates are: bool QString::startsWith(const QString&, Qt::CaseSensitivity) const
/usr/lib/qt/include/QtCore/qstring.h:232: note: bool QString::startsWith(const QLatin1String&, Qt::CaseSensitivity) const
/usr/lib/qt/include/QtCore/qstring.h:233: note: bool QString::sta

this is part of the message ..

regards
Lawrence

Last edited by zasavage; 09-29-2010 at 03:52 PM.
 
Old 09-29-2010, 08:42 PM   #4
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Lawrence,

I've been doing a lot of building from source lately for my Linux from Scratch build. I've picked up a few things in that process that might help. Forgive me, in advance, if this stuff is very familiar to you.

I'm going to assume a couple of things:

1) You are going to want to make a Slackware package to install rather than simply running 'make install' and

2) You're willing to do a little bit of scripting.

Quote:
Originally Posted by zasavage View Post
Thanks Drew
I have tried the Ubuntu how to but to no avail .. I have 2 machines here one 32 bit and one 64 bit and the package wont compile on either ,,.. I think I am over thinking it and just want a someone to also try ..
Quote:
My latest make gave these errors ..
I think the first thing you need to do is try to capture the errors as early as possible -- it could be that errors during the configure are causing problems with make.

Perhaps you could try manually going through the steps usually performed by a slackbuild script, but log the output with 'tee'. For example:


Code:
qmake | tee qmake.log
(For this package, qmake seems to do the same work that configure does with a normal build.)

Then you can search the log for errors.

Do the same thing with make. (make | tee make.log).

Then stop there. Look at the output see if you can see any lines about something not being found, etc.

Based on the errors you posted, it looks like there's a problem with QT4 and how it relates to the package you're trying to build.

Once you figure out the problem, then try:

Code:
make install DESTDIR=$PKG
(Assuming that you've got the various variables set as per the instructions in the link above.)

If that works, then use makepkg to make the Slackware package for you to install.

These packages look pretty awesome. I'm a transportation planner and the GIS manager at my office. I may look a bit more closely at them. I doubt I'll have time to try to build them soon though.

Please keep posting your results. We'd hate for you to have to defect to Windows.
 
Old 09-30-2010, 05:12 AM   #5
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
It looks like you are compiling a program that needs QT3 on a system with only QT4 installed.
There is a QT4 branch of GsTLAppli. Make sure that is the one you are compiling or install
QT3 compatibility libs[1] and tell configure where to find QT3.

[1] qt3-3.3.8b-i486-opt1.txz
 
1 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
not getting compiled this one.. asahlot Programming 1 04-09-2006 04:32 AM
Compiled with Options? dlublink SUSE / openSUSE 0 01-07-2005 07:29 PM
already compiled C, now what? SnowSurfAir Linux - Software 3 07-09-2004 03:36 PM
Compiled my first kernel dhbiker Slackware 3 02-18-2004 12:55 PM
are these compiled shanenin Linux - Software 1 10-16-2003 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration