LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-11-2014, 02:16 PM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,145

Rep: Reputation: Disabled

Quote:
Originally Posted by ruario View Post
Stuart also knows.
It appears that I failed to read that post. Fortunately Pat did
 
Old 05-11-2014, 02:18 PM   #17
vinipsmaker
LQ Newbie
 
Registered: May 2014
Distribution: ArchLinux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Sorry for bothering/going-off-topic, bu-bu-but...

which command in Slackware is equivalent to the following in Slackware?

ip route add default via 192.168.100.1
 
Old 05-11-2014, 02:24 PM   #18
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,231

Rep: Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263
by default route (from net-tools, used also by the init scripts) is installed in the container (not iproute2), so you can
Code:
route add default gw 192.168.100.1
but you are better off editing /etc/rc.d/rc.inet1.conf of the container for the variables
Code:
IPADDR[0]="192.168.100.10"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
...
GATEWAY="192.168.100.1"
and then
Code:
/etc/rc.d/rc.inet1 restart
so that the configuration is kept between reboots of the container.
don't forget to add also a nameserver line to /etc/resolv.conf (these informations are in the web pages I pointed you to )

Last edited by ponce; 05-11-2014 at 02:28 PM.
 
Old 05-11-2014, 02:31 PM   #19
vinipsmaker
LQ Newbie
 
Registered: May 2014
Distribution: ArchLinux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
by default route (from net-tools, used also by the init scripts) is installed in the container (not iproute2), so you can
Code:
route add default gw 192.168.100.1
but you are better off editing /etc/rc.d/rc.inet1.conf of the container for the variables
Code:
IPADDR[0]="192.168.100.10"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
...
GATEWAY="192.168.100.1"
and then
Code:
/etc/rc.d/rc.inet1 restart
so that the configuration is kept between reboots of the container.
don't forget to add also a nameserver line to /etc/resolv.conf (these informations are in the web pages I pointed you to )
Thank you guys, you're been very helpful for me.

As a gift, I'll fix Inkscape development code to compile against current Slackware (this is why I'm using Slackware).
 
Old 05-12-2014, 09:59 AM   #20
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,231

Rep: Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263Reputation: 4263
If you want to build/test inkscape on Slackware maybe the fastest way to get started, as Slackware doesn't use dependency resolution for packages, is to have a full installation: for that you can use slackpkg, already present in the container (it just need the additional mpfr package installed to work cleany -for awk, I already updated the lxc template for it, but not yet the tarballs). So:

- download and install mpfr
Code:
wget http://slackware.osuosl.org/slackware-14.1/slackware/l/mpfr-3.1.2-i486-1.txz
installpkg mpfr-3.1.2-i486-1.txz
- edit /etc/slackpkg/mirrors substituting the active one with
Code:
http://slackware.osuosl.org/slackware-14.1/
- launch
Code:
slackpkg update
slackpkg install slackware
- install all the suggested choices (it will take some time);

- as you will need additional dependencies not in Slackware, use sbopkg for that (a semi-automated tool to build from the third-party build script repository of SlackBuilds.org)
Code:
wget http://sbopkg.googlecode.com/files/sbopkg-0.37.0-noarch-1_cng.tgz
installpkg sbopkg-0.37.0-noarch-1_cng.tgz
sbopkg -r
sbopkg -i "numpy BeautifulSoup lxml mm-common libsigc++ glibmm cairomm pangomm atkmm gtkmm gsl"
(also this will take a little)

then copy the SlackBuild.org's build script for inkscape locally (you can get the inkscape.tar.gz there), and make it point in the inkscape.SlackBuild at a bazaar snapshot (edit the $VERSION variable) and adding just an ./autogen.sh to it.

I just tested the above (as I'm curious and an Inkscape user too ) with the a revision 13358 snapshot and inkscape builds and (seems to) work fine.

Last edited by ponce; 05-12-2014 at 10:18 AM.
 
Old 05-14-2014, 01:41 AM   #21
vinipsmaker
LQ Newbie
 
Registered: May 2014
Distribution: ArchLinux
Posts: 9

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
If you want to build/test inkscape on Slackware maybe the fastest way to get started, as Slackware doesn't use dependency resolution for packages, is to have a full installation: for that you can use slackpkg, already present in the container (it just need the additional mpfr package installed to work cleany -for awk, I already updated the lxc template for it, but not yet the tarballs). So:

- download and install mpfr
Code:
wget http://slackware.osuosl.org/slackware-14.1/slackware/l/mpfr-3.1.2-i486-1.txz
installpkg mpfr-3.1.2-i486-1.txz
- edit /etc/slackpkg/mirrors substituting the active one with
Code:
http://slackware.osuosl.org/slackware-14.1/
- launch
Code:
slackpkg update
slackpkg install slackware
- install all the suggested choices (it will take some time);

- as you will need additional dependencies not in Slackware, use sbopkg for that (a semi-automated tool to build from the third-party build script repository of SlackBuilds.org)
Code:
wget http://sbopkg.googlecode.com/files/sbopkg-0.37.0-noarch-1_cng.tgz
installpkg sbopkg-0.37.0-noarch-1_cng.tgz
sbopkg -r
sbopkg -i "numpy BeautifulSoup lxml mm-common libsigc++ glibmm cairomm pangomm atkmm gtkmm gsl"
(also this will take a little)

then copy the SlackBuild.org's build script for inkscape locally (you can get the inkscape.tar.gz there), and make it point in the inkscape.SlackBuild at a bazaar snapshot (edit the $VERSION variable) and adding just an ./autogen.sh to it.

I just tested the above (as I'm curious and an Inkscape user too ) with the a revision 13358 snapshot and inkscape builds and (seems to) work fine.
Thank you.

I was able to build Inkscape under Slackware following these steps (even the "bad revision"). Original reporter may have configured something wrong.
 
  


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
Unable to build bootstrap image on OpenEmbedded naveen_chandran Linux - Embedded & Single-board computer 0 04-15-2009 04:25 AM
LXer: Graphics on Linux: Eight great image image resources and tools LXer Syndicated Linux News 0 04-08-2009 08:11 PM
clonezilla clone disk to image, when restore from image to destination hdd problem. hocheetiong Linux - Newbie 3 05-06-2008 07:59 PM
PHP: how can I return an image - not the html img src tag, but the image data BrianK Programming 3 05-18-2007 02:28 PM
LXer: Creating a dd/dcfldd Image Using Automated Image & Restore (AIR) LXer Syndicated Linux News 0 03-07-2007 05:16 PM

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

All times are GMT -5. The time now is 10:52 PM.

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