LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2010, 04:40 AM   #1
krojther
LQ Newbie
 
Registered: Oct 2009
Posts: 20

Rep: Reputation: 0
Installing libpq-dev on Debian


It should be easy with apt-get but since I don't have root rights I need to install it from source. The problem is there is no INSTALL.txt to give me direction how to do it. On the other hand, I can not find any executable or make file.
That is why I would like to ask a question what generally installation under Linux means: To download, unpack source code, compile it and let the system know where it is by modifying system variables? Is there a unique procedure how to install from source code if no instructions are given?
And, more concretely, how can I install the libpq-dev (written in C)?
Thanks
 
Old 09-23-2010, 08:53 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,405

Rep: Reputation: 244Reputation: 244Reputation: 244
Ask your admin to install it (using apt-get/aptitude).

If it needs to work with Debian's packages, you'll need some other dev packages as well.
libpq-dev only includes the header files and C libs to link with libpq.
You would need to install everything (including other dependencies) from source to make it work (without having root).

Quote:
Is there a unique procedure how to install from source code if no instructions are given?
No, but it's usually something like:
make
make install
./configure

Last edited by jens; 09-23-2010 at 10:11 AM.
 
1 members found this post helpful.
Old 09-23-2010, 10:28 AM   #3
krojther
LQ Newbie
 
Registered: Oct 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the reply.
I am little bit confused because I get some package with .debian extension. I am confused how to proceed that is to access pg_config that looks like only executable file provided. There is no make file or INSTALL.TXT. How should I go about this? Caould it be installed without apt-get.
Apart from this, if I manage to install it which system variable should I modify in order to provide a pointer to library.
Greetings
 
Old 09-23-2010, 11:28 AM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,405

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by krojther View Post
Thanks for the reply.
I am little bit confused because I get some package with .debian extension. I am confused how to proceed that is to access pg_config that looks like only executable file provided. There is no make file or INSTALL.TXT. How should I go about this? Caould it be installed without apt-get.
Apart from this, if I manage to install it which system variable should I modify in order to provide a pointer to library.
Greetings
.deb packages are already compiled from .src.deb packages.
You do need DPKG (and root access) for them.

The source debs are all split from the original postgresql-8.3_8.3.*.orig.tar.gz

You should really ask your admin to do this with apt-get/aptitude.
 
  


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
Installing grub on /dev/sdb or /dev/sdc Skaperen Ubuntu 4 07-18-2009 08:45 PM
Installing RIP LinuX on a USB drive - device name /dev/sdc becomes /dev/sda Mleahy Linux - Software 1 07-30-2008 09:57 PM
Debian installing dev tools blu_alchemist Linux - Software 2 09-10-2007 07:39 PM
/dev/audio, /dev/dsp and /dev/mixer missing in Debian Etch 1337_penguin Debian 2 04-11-2007 12:33 PM
Installing debian woody on /dev/hdb1 flooded Debian 3 04-16-2004 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration