#384 closed defect (fixed)
PostgreSQL not installing with cvs portfile
Reported by: | stewartsmith@… | Owned by: | eric@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
collapses on 'contents-append'
in the portfile:
contents-append etc/rc.d/pgsql.sh
commenting out/removing this line lets everything go okay.
I have the complete portfile in my next bug, the one that says you can build 7.2.3 :)
Change History (4)
comment:1 Changed 22 years ago by stewartsmith@…
blocked: | → 385 |
---|
comment:2 Changed 22 years ago by michaelm@…
Owner: | changed from kevin@… to eric@… |
---|
comment:3 Changed 22 years ago by stewartsmith@…
Now the reason for it not installing is that the PostgreSQL ./configure script doesn't recognize darwin as a platform. I am building with the server variation
---> Configuring postgresql DEBUG: Executing com.apple.configure (postgresql) DEBUG: Assembled command: 'cd /darwinports/dports/databases/postgresql/work/postgresql- 7.3.2 && CPPFLAGS=-I/opt/local/include CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local --docdir=/opt/local/share/doc/postgresql-7.3.2 --datadir=/ opt/local/share/postgresql-7.3.2 --sysconfdir=/opt/local/etc/pgsql' checking build system type... Invalid configuration `unknown-apple-darwin6.6': machine `unknown-apple' not recognized configure: error: /bin/sh config/config.sub unknown-apple-darwin6.6 failed Error: Target com.apple.configure returned: configure failure: shell command "cd /darwinports/ dports/databases/postgresql/work/postgresql-7.3.2 && CPPFLAGS=-I/opt/local/include CFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib ./configure --prefix=/opt/local -- docdir=/opt/local/share/doc/postgresql-7.3.2 --datadir=/opt/local/share/postgresql-7.3.2 -- sysconfdir=/opt/local/etc/pgsql" returned error 1 Command output: Warning: the following items did not execute (for postgresql): com.apple.build com.apple.configure
comment:4 Changed 21 years ago by stewartsmith@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
You *really* have to watch the PATH and what uname you're running. the GNU one doesn't do the right thing on OSX (where right thing=make things work).
FIX is: make sure OSX's uname is being run!
assigning to current postgres maintainer