Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-05-2011, 11:43 AM
|
#1
|
|
Member
Registered: Apr 2010
Posts: 61
Rep:
|
gCompris trying to build
hello
I've been trying to build gCompris a childrens educational package.
I got the compressed source & build from slackbuilds.org
The only dependency mentioned in the readme was gnet so built and installed that ok .
With gCompris the build was progressing fine until a it hit a point at " text2html" .
Looked in the 4th install disk of slackware 13.37 no sign of either.looked in slackbuild also no mention of either.
Any ideas please
Last edited by captain_sensible; 07-06-2011 at 07:42 AM.
|
|
|
|
07-05-2011, 11:54 AM
|
#2
|
|
Member
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 526
Rep:
|
latex is built in to slackware....
root@darkstar:~# which latex
/usr/share/texmf/bin/latex
root@darkstar:~#
|
|
|
|
07-05-2011, 11:55 AM
|
#3
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,084
|
Do you have tetex installed? You will need to use 'su -' rather than a plain 'su' to build it.
Edit: just tested and it builds fine with su -
Last edited by dive; 07-05-2011 at 12:09 PM.
|
|
|
|
07-05-2011, 12:24 PM
|
#4
|
|
Member
Registered: Feb 2007
Posts: 337
Rep: 
|
You don't need tetex/latex. You need texi2html. Note the "i", it's not a "t". As far as I know it's not included in SBo. But you can get a package from the Salix repos if you want. You can get packages for gcompris + all the dependencies and related apps (tuxpaint, gnucap etc) from there as well for that matter.
Last edited by gapan; 07-05-2011 at 12:25 PM.
|
|
|
0 members found this post helpful.
|
07-05-2011, 12:32 PM
|
#5
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,084
|
Quote:
Originally Posted by gapan
You don't need tetex/latex. You need texi2html. Note the "i", it's not a "t". As far as I know it's not included in SBo. But you can get a package from the Salix repos if you want. You can get packages for gcompris + all the dependencies and related apps (tuxpaint, gnucap etc) from there as well for that matter.
|
It's part of the tetex package. It's installed by default in slackware if you do a full install, but it won't be in PATH with a simple 'su'
Last edited by dive; 07-05-2011 at 12:33 PM.
|
|
|
|
07-05-2011, 12:34 PM
|
#6
|
|
Member
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 526
Rep:
|
|
|
|
|
07-05-2011, 06:45 PM
|
#7
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 287
Rep:
|
I don't remember I did some tweaks to install GCompris and even when I upgraded to the latest version few weeks ago. Maybe it is the "su -" stuff.
|
|
|
|
07-06-2011, 04:41 AM
|
#8
|
|
Member
Registered: Apr 2010
Posts: 61
Original Poster
Rep:
|
thanks for your replies, that was a great help
su - did the trick, and have now built gcompris-8.4.12-i486-1_SBo.tgz ready for install.
I can see su gives you an element of root permission & you stay in your /home/user directory; whereas after typing su - noticed it changed to root@darkstar:~# and doing ls confirmed I was in root home directory,so I just did cd to my home directory where the build was.
So guessing that build fail earlier was to do with some parts of system being unavailable to build process, to do with path?
This now prompts me to ask , i have up to this point been building from normal user home directory & doing just su ( not had a problem till no); should I now be building exclusively using su - from now on?
|
|
|
|
07-06-2011, 08:51 AM
|
#9
|
|
Member
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 526
Rep:
|
Using just "su" does not bring the roots env and or shell forward and leaves you at user level env and shell.
Using "su -" brings you at root level env and shell which is what you want to use in most cases. The same apply when changing to other users.
|
|
|
|
07-06-2011, 11:00 AM
|
#10
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,084
|
Quote:
Originally Posted by captain_sensible
So guessing that build fail earlier was to do with some parts of system being unavailable to build process, to do with path?
This now prompts me to ask , i have up to this point been building from normal user home directory & doing just su ( not had a problem till no); should I now be building exclusively using su - from now on?
|
The problem is that texi2html isn't in $PATH with just 'su', it is with 'su -'
There are a few other things that have the same problem - ffmpeg IIRC is one. I've had no problems using just 'su' for most things, but the tetex stuff is the usual culprit. Note that slackbuilds.org recommend using 'su -' for everything though.
Incidently, sbopkg is a very nice tool for building slackbuilds.org stuff which doesn't require navigating around the dir structure. It's quite advanced and supports making queues of packages so you can do all the deps etc in a queue. You can get it at www.sbopkg.org.
|
|
|
|
07-06-2011, 07:22 PM
|
#11
|
|
Member
Registered: Nov 2006
Distribution: Slackware
Posts: 287
Rep:
|
What I usually do is `pwd` before switching to root so that I could just copy and paste the full path and resume SlackBuilding.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|