Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-12-2005, 02:52 PM   #1
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:

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, 03:08 PM   #2
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:

tar -xvzf yourfilename.tar.gz
cd yourfilename
sudo make install
Hope it works out

Last edited by anti.corp; 12-12-2005 at 03:09 PM.
Old 12-12-2005, 03:12 PM   #3
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, 03:36 PM   #4
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, 04:11 PM   #5
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

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


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

All times are GMT -5. The time now is 09:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration