LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   gCompris trying to build (http://www.linuxquestions.org/questions/slackware-14/gcompris-trying-to-build-890047/)

captain_sensible 07-05-2011 12:43 PM

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

SeRi@lDiE 07-05-2011 12:54 PM

latex is built in to slackware....


root@darkstar:~# which latex
/usr/share/texmf/bin/latex
root@darkstar:~#

dive 07-05-2011 12:55 PM

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 -

gapan 07-05-2011 01:24 PM

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.

dive 07-05-2011 01:32 PM

Quote:

Originally Posted by gapan (Post 4405865)
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'

SeRi@lDiE 07-05-2011 01:34 PM

http://txt2html.sourceforge.net/

dc_eros 07-05-2011 07:45 PM

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.

captain_sensible 07-06-2011 05:41 AM

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?

SeRi@lDiE 07-06-2011 09:51 AM

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.

dive 07-06-2011 12:00 PM

Quote:

Originally Posted by captain_sensible (Post 4406576)
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.

dc_eros 07-06-2011 08:22 PM

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


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