Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-23-2004, 02:16 AM   #1
Registered: Dec 2003
Location: Rennes - FRANCE
Distribution: Slackware 9.1
Posts: 36

Rep: Reputation: 15
How can we pass arguments to installpkg ?

Hi everybody !

I want to install gtkfb, the gtk on framebuffer librairie on my slackware.
I cannot download the tar.gz source file for gtk+, so I would like to use installpkg.

In the case of the source file, quite the only thing to do is to pass an argument to ./configure like that :

./configure --with-gdktarget=linux-fb
Is it possible to do the same thing with installpkg ?

If that option cannot be passed, is there a configuration file to modify ?

Thanks in advance !
Old 04-23-2004, 03:56 AM   #2
LQ Newbie
Registered: Apr 2004
Posts: 29

Rep: Reputation: 15
installpkg is a tool to install binary files,
./configure --with-gdktarget=linux-fb is done during compiling.

so I think it can't.
Old 04-23-2004, 09:08 AM   #3
Registered: Dec 2003
Location: Rennes - FRANCE
Distribution: Slackware 9.1
Posts: 36

Original Poster
Rep: Reputation: 15
OK, so I have another question about installpkg : I want to install a software on another disk than my root disk, to prepare a system.
I need some librairies that are binairies for my slackware, and I don't want to install for example linpng on my root system but on the other one, is it possible ?

I mean, is it possible to specify another directory to install the package ?
Old 04-23-2004, 06:43 PM   #4
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
Not sure I fully understand your question.
Anyway you can install a package in a "non standard" directory, but not by installpkg.
You must choose the install path while you're compiling the sources, by
./configure --prefix=/path/to/your/dir
or editing the Makefile produced by "configure" after.
this will enable then installpkg to install the package in different directory.
But, you must consider /path/to/your/dir will not be included into your enviroment variable and however you have to export it,if you want to be able to start the program.
More or less the same you if want to define some libraries in a "non standard" path.
You must specify them while compiling from sources by
./configure --with-libraries=/path/to/your/lib
This to suggest you not do that unless scrictly necessary
Hope this helps


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
How to pass structure as function arguments ssg14j Programming 2 08-20-2005 09:59 PM
installpkg mcd Slackware 4 10-17-2004 09:04 PM
How to pass arguments from $prompt for php script ukjairaj Linux - Software 4 06-25-2004 11:14 AM
Not sure about installpkg Superdude Linux - Software 8 01-04-2004 05:30 PM
wine doesn't pass arguments correctly when calling programs jonchapman Linux - Software 0 10-08-2003 01:56 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration