LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 01-14-2005, 07:29 PM   #1
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Rep: Reputation: 15
gmake / building pgsql


This has likely been asked before, but I can't
seem to find an answer.

Trying to build postgres server / client on
slack 9.1.

I don't think my problem is with pg, I think
I'm doing something wrong.

PGSQL docs say to:
1) ./configure
2) gmake
3) gmake install


configure gives some sed errors, but everything
else looks ok:
Code:
sed: file conftest.s1 line 35: Unterminated `s' command
sed: file conftest.s1 line 35: Unterminated `s' command
sed: file conftest.s1 line 35: Unterminated `s' command
# ......  this continues about 20 more times.

Then I try to gmake:
Code:
[pgsql: src] gmake
gmake: *** No targets.  Stop.
[pgsql: src] gmake --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source ......

The way I understand it, configure did not create
a makefile properly, so gmake doesn't know what
to do. Is that right? Should I do something
differently?

Also, if anyone's built pgsql on slack, how did you
get it to work?

Thanks a lot in advance.
 
Old 01-14-2005, 08:41 PM   #2
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
i do not recall ever using gmake on slackware (i've used slk 10 for about a year). i've always used make. also, i have built postgres several times. why don't you try using make?
 
Old 01-14-2005, 09:11 PM   #3
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
Thanks rgiggs, I did try it. Actually, my 'make' and
'gmake' point to the same program:

Code:
[pgsql: src] make --version
GNU Make 3.80
What exactly is make trying to say when it says:
Code:
make: *** No targets.  Stop.
Does this mean a bad makefile or bad
command syntax?
 
Old 01-14-2005, 09:14 PM   #4
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
Re: gmake / building pgsql

Quote:
Originally posted by towlie
The way I understand it, configure did not create
a makefile properly, so gmake doesn't know what
to do. Is that right? Should I do something
differently?
you might be right on that. check if Makefile or makefile exists, which i doubt because configure ran into errors. if neither exists, then try to fix configure.
 
Old 01-14-2005, 09:30 PM   #5
towlie
Member
 
Registered: Apr 2004
Location: U.S.
Distribution: slackware 10.0
Posts: 110

Original Poster
Rep: Reputation: 15
Thanks, that helps. I will try to fix it
and post it if I figure it out.
 
  


Reply



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
Nothing after rc.pgsql in rc.M starts karlmdv Slackware 4 04-04-2005 03:44 PM
PL/pgSQL anyone? vickr1z Linux - Newbie 0 10-20-2004 12:58 AM
Pgsql or mysql? other? Raspis21 Linux - Software 13 11-14-2003 10:25 PM
difference between 'make' and 'gmake'? unholy Linux - General 2 10-26-2003 12:58 PM
Dates in PL/PGSQL anisbet Linux - General 0 11-19-2001 10:16 AM

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

All times are GMT -5. The time now is 04:34 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
Open Source Consulting | Domain Registration