LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-05-2011, 11:43 AM   #1
captain_sensible
Member
 
Registered: Apr 2010
Posts: 72

Rep: Reputation: 0
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.
 
Old 07-05-2011, 11:54 AM   #2
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
latex is built in to slackware....


root@darkstar:~# which latex
/usr/share/texmf/bin/latex
root@darkstar:~#
 
Old 07-05-2011, 11:55 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
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.
 
Old 07-05-2011, 12:24 PM   #4
gapan
Member
 
Registered: Feb 2007
Posts: 343

Rep: Reputation: 105Reputation: 105
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.
Old 07-05-2011, 12:32 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by gapan View Post
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.
 
Old 07-05-2011, 12:34 PM   #6
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
http://txt2html.sourceforge.net/
 
Old 07-05-2011, 06:45 PM   #7
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
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.
 
Old 07-06-2011, 04:41 AM   #8
captain_sensible
Member
 
Registered: Apr 2010
Posts: 72

Original Poster
Rep: Reputation: 0
Wink

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?
 
Old 07-06-2011, 08:51 AM   #9
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 538
Blog Entries: 7

Rep: Reputation: 54
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.
 
Old 07-06-2011, 11:00 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by captain_sensible View Post
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.
 
Old 07-06-2011, 07:22 PM   #11
dc_eros
Member
 
Registered: Nov 2006
Distribution: Slackware
Posts: 292

Rep: Reputation: 39
What I usually do is `pwd` before switching to root so that I could just copy and paste the full path and resume SlackBuilding.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gcompris build fails 2handband Slackware 5 11-27-2010 06:22 PM
LXer: Learning with Gcompris LXer Syndicated Linux News 0 11-11-2009 10:00 AM
gcompris hell..... justin_p Mandriva 5 02-22-2007 12:57 AM
no sound in GCompris BigBearOmaha Linux - Games 1 10-06-2006 06:53 PM
gcompris nightmares Mousy Linux - Newbie 4 09-22-2006 05:06 PM


All times are GMT -5. The time now is 12:05 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