Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#13500 closed defect (worksforme)

install of sqlite3 fails on Leopard

Reported by: anders.blomdell@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:


The following patch resolves the problem:

--- /opt/local/var/macports/sources/ 2007-12-05 16:05:43.000000000 +0100
+++ /opt/local/var/macports/sources/        2007-11-28 17:45:17.000000000 +0100
@@ -25,7 +25,6 @@
 depends_build          port:gawk
-depends_build          port:nawk
 depends_lib            port:readline
 # '-lm' makes freebsd happy & darwin not angry (and makes variants unnecessary)

Change History (7)

comment:1 Changed 13 years ago by clayton.b.cafiero@…

Thank you very much Anders Blomdell.

comment:2 Changed 13 years ago by skymoo (Adam Mercer)

Milestone: Port Bugs
Owner: changed from macports-dev@… to mww@…

comment:3 Changed 13 years ago by mww@…

Resolution: invalid
Status: newclosed

r31577 does not include this line:

depends_build          port:nawk

Neither the file in the repository nor the one I get via rsync include that line nor does the portindex include that dependency.

comment:4 Changed 13 years ago by zioproto@…

I fixed install nawk manually

sudo port install nawk
sudo port install sqlite3

comment:5 Changed 13 years ago by matt macports@…

Resolution: invalid
Status: closedreopened

The OP reversed their diff. A dependency on nawk should be added, not removed. Currently the build fails with:

cat parse.h ./src/vdbe.c |  -f ./mkopcodeh.awk >opcodes.h
/bin/sh: -f: command not found

The line in the Makefile uses "$(NAWK) -f ..." which is not defined due to the missing dependency.

comment:6 Changed 13 years ago by mww@…

Resolution: worksforme
Status: reopenedclosed

gawk does the job perfectly

cd work/sqlite-3.5.6
grep NAWK Makefile
Makefile:NAWK = /opt/local/bin/gawk

and building sqlite3 yields

cat parse.h ./src/vdbe.c | /opt/local/bin/gawk -f ./mkopcodeh.awk >opcodes.h

I suppose that either your macports installation (1.6.0 is most recent) or your ports tree are out of date;

comment:7 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.