LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 04-09-2010, 02:48 AM   #1
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Rep: Reputation: 131Reputation: 131
Trying to compile gnustep for x86_64


The background to the problem. I was dangerous, not deadly or elite and I want to be that way again. The best representation that I have found is oolite. Now this installs by auto-package but only in 32-bit and I find auto-package a bit of a pain. I have the windows version installed and running under wine but would prefer a compiled 64-bit Slackware package.

Oolite requires gnu-step so I have downloaded the source and some old (12.2) slackbuilds, which I have modified, and made a package for gnustep-make. The next stage is to make a package for gnustep-base however it is failing with the following error
Code:
./configure: line 1390: gnustep-config: command not found
configure: error: cannot run /bin/sh /tmp/SBo/gnustep-base-1.18.0/config.sub
I have googled but I am not sure what to do next.

samac
 
Old 04-09-2010, 02:56 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
I have added
Code:
PATH=$PATH:/usr/System/Tools
to the slackbuild and it gets rid of the command not found error but still leaves
Code:
configure: error: cannot run /bin/sh /tmp/SBo/gnustep-base-1.18.0/config.sub
samac
 
Old 04-10-2010, 08:16 AM   #3
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
It appears config.sub does not exist and automake -a cannot create it. Any ideas of where to go from here.

samac
 
Old 04-10-2010, 02:05 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
'autoreconf -if' doesn't work? Or maybe there is an autogen.sh that could be run?
 
Old 04-10-2010, 05:28 PM   #5
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
'autoreconf -if' doesn't work? Or maybe there is an autogen.sh that could be run?
No and no. I downloaded the source from the gnustep site, so it should be good. I wonder if your src2pgz would do a better job? I'll look at that tomorrow.

samac
 
Old 04-10-2010, 05:54 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Seems OK with src2pkg ..

1) # src2pkg gnustep-make-2.2.0.tar.gz
Quote : "Creating package: gnustep-make-2.2.0-x86_64-1.tgz .. "
# cp gnustep-config /usr/bin/
( Got the file gnustep-config from a Fedora "13" package.)

2) # src2pkg gnustep-base-1.18.0.tar.gz
Quote : "Creating package: gnustep-base-1.18.0-x86_64-1.tgz - Done
Package Creation - Successful! Package Location:
/tmp/gnustep-base-1.18.0-x86_64-1.tgz "
.....
 
Old 04-10-2010, 08:03 PM   #7
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,139
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
I never noticed that gnustep isn't in Slackware 13, but was in Slackware 12.2. Any idea why it was removed?
 
Old 04-11-2010, 01:56 AM   #8
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
2) # src2pkg gnustep-base-1.18.0.tar.gz
Quote : "Creating package: gnustep-base-1.18.0-x86_64-1.tgz - Done
Package Creation - Successful! Package Location:
/tmp/gnustep-base-1.18.0-x86_64-1.tgz "
Not working for me I get the following error.
Quote:
bash-4.1# src2pkg gnustep-base-1.18.0.tar.gz
Found source archive: gnustep-base-1.18.0.tar.gz
Deleting old build files - Done
Creating working directories:
PKG_DIR=/tmp/gnustep-base-1.18.0-x86_64-1
SRC_DIR=/tmp/gnustep-base-1.18.0-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Found configure script - Done
Configuring sources using:
LDFLAGS="-Wl,-L/lib64,-L/usr/lib64" CFLAGS="-O2 -fPIC -m64" ./configure --prefix=/usr --libdir=/usr/lib64
ERROR! Configuring sources has failed!
This may be because of some missing libraries, or you may
need to pass extra options to configure using EXTRA_CONFIGS.
Searching the RPM .spec.in file turns up this:
Requires: gnustep-make >= 2.0.0

Notice - Showing short options in a separate xterm.
bash-4.1# No protocol specified
Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s

bash-4.1#
gnustep-make-2.2.0 is installed

samac

Last edited by samac; 04-11-2010 at 01:57 AM.
 
Old 04-11-2010, 02:35 AM   #9
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Run it with the src2pkg -VV option so you can see what the full error is.
 
1 members found this post helpful.
Old 04-11-2010, 03:44 AM   #10
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
Thanks Gilbert

Quote:
LDFLAGS="-Wl,-L/lib64,-L/usr/lib64" CFLAGS="-O2 -fPIC -m64" ./configure --prefix=/usr --libdir=/usr/lib64
Messages from configure:
./configure: line 1390: gnustep-config: command not found
configure: error: You must have the gnustep-make package installed and set up the GNUSTEP_MAKEFILES environment variable to contain the path to the makefiles directory before configuring!
ERROR! Configuring sources has failed!
OK it is showing the same error as the slackbuild which is fixable by modifying the $PATH like this
Code:
export PATH=$PATH:/usr/System/Tools
The package then builds correctly.

Now to try oolite.

samac
 
Old 04-11-2010, 03:55 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2013.07, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,178

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You are probably missing the file /usr/bin/gnustep-config

This file will be created from "gnustep-make-2.2.0" using the options :
./configure --with-layout=fhs-system --enable-flattened

(This configure line is used in the file gnustep-make.spec
from gnustep-make-2.2.0-3.fc12.src.rpm )


I don't see those options in the gnustep-make.SlackBuild
( for gnustep-make-2.0.7 ).
.....
EDIT : Sorry, @ samac, writing, while you were posting.
.....

Last edited by knudfl; 04-11-2010 at 03:57 AM.
 
Old 04-11-2010, 06:12 AM   #12
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
I've decided that compiling gnustep is easy. Compiling oolite appears to be much harder. I eventually devided just to use the oolite-x86_64.package and install it as a user. I hate autopackage but I do not have the knowledge to compile oolite. src2pkg -VV turns up this
Quote:
make[2]: *** [obj.dbg/OODebugMonitor.m.o] Error 1
make[1]: *** [internal-objc_program-all_] Error 2
make: *** [oolite.all.objc-program.variables] Error 2
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Searching the Debian control file turns up this:
Build-Depends: debhelper (>= 5),
Depends: ${shlibsepends}, oolite-data (>= ${source:Version})
which is similar to what I get using a slackbuild. The documentation says all you have to do is run 'make'

samac chuckles insanely.

samac
 
Old 04-12-2010, 02:32 AM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,724

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Do you have the Objective C compiler installed?
 
Old 04-12-2010, 02:06 PM   #14
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Do you have the Objective C compiler installed?
I have these installed
Quote:
samac@quad:~$ ls /var/log/packages/gcc*
/var/log/packages/gcc-4.4.3_multilib-x86_64-2alien
/var/log/packages/gcc-java-4.4.3_multilib-x86_64-2alien
/var/log/packages/gcc-g++-4.4.3_multilib-x86_64-2alien
/var/log/packages/gcc-objc-4.4.3_multilib-x86_64-2alien
/var/log/packages/gcc-gfortran-4.4.3_multilib-x86_64-2alien
/var/log/packages/gccmakedep-1.0.2-noarch-2
/var/log/packages/gcc-gnat-4.4.3_multilib-x86_64-2alien
are any of these an objective C compiler?

samac
 
Old 04-12-2010, 02:14 PM   #15
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,686
Blog Entries: 51

Rep: Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238Reputation: 1238
Quote:
/var/log/packages/gcc-objc-4.4.3_multilib-x86_64-2alien
That one.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't compile PAM in 13.0 x86_64 kenel 2.6.31.1 bennethos Slackware 4 11-28-2009 07:50 AM
ipm timed out error on Red Hat 2.6.9-67.0.22.ELsmp #1 SMP x86_64 x86_64 x86_64 GNU/L bellnarm Linux - Newbie 0 07-07-2009 04:36 PM
Host x86_64, Can I compile for x86_32??? webquinty Linux - Newbie 5 11-26-2008 12:14 PM
compile kernel for x86_64 henkees Slackware 7 10-10-2008 02:36 PM
Can't get kernel to compile as x86_64 arch... Electrode Linux - Software 22 12-18-2003 09:11 AM


All times are GMT -5. The time now is 11:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration