LinuxQuestions.org
Review your favorite Linux distribution.
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 12-12-2005, 03:52 PM   #1
dominique
LQ Newbie
 
Registered: Sep 2001
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
What is "shell" command


I'm trying to install a little PostgreSQL addition that I found online. It comes with the following Makefile:

Code:
OBJS = pg_prox.o proximity.o ../common/pg_utils.o
MODULE_big = proximity
DATA_built = proximity.sql
DOCS = README.proximity

PGXS := $(shell pg_config --pgxs)
include $(PGXS)
What is the shell command? I tried it in Ubuntu and FreeBSD without luck. Running web searches on "shell" returns too many pages about shells in general.
 
Old 12-12-2005, 04:08 PM   #2
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
If your file is a tar.gz

Try this:

Code:
tar -xvzf yourfilename.tar.gz
cd yourfilename
./configure
make
sudo make install
Hope it works out

Last edited by anti.corp; 12-12-2005 at 04:09 PM.
 
Old 12-12-2005, 04:12 PM   #3
dominique
LQ Newbie
 
Registered: Sep 2001
Distribution: Ubuntu
Posts: 18

Original Poster
Rep: Reputation: 0
It's not an archive, just a loose collection of files with a Makefile file.
 
Old 12-12-2005, 04:36 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I'm guessing....
It seems that this might be how other languages jump out to use shell commands. What is the suffix on your Makefile?
 
Old 12-12-2005, 05:11 PM   #5
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
Google is your friend:
Makefile Optimization: $(shell) and := go together
 
  


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
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 08:42 AM
shell question: the "mv" command with multiply files basher400 Linux - Newbie 4 12-19-2005 08:42 AM
Shell Variable available within Samba "print command" thibert Linux - Networking 0 12-12-2005 02:02 PM
Reconfigure command in "perl -MCPAN -e shell" asciimonster Linux - Software 1 09-16-2004 09:48 AM
"how do I extract a number from a text file using shell command?" sdandeker Linux - Networking 3 02-12-2004 09:54 AM


All times are GMT -5. The time now is 02:57 AM.

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