#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: | ||
Port: |
Description
The following patch resolves the problem:
--- /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3/Portfile 2007-12-05 16:05:43.000000000 +0100 +++ /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3/Portfile~ 2007-11-28 17:45:17.000000000 +0100 @@ -25,7 +25,6 @@ patchfiles patch-Makefile.in 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 17 years ago by clayton.b.cafiero@…
comment:2 Changed 17 years ago by skymoo (Adam Mercer)
Milestone: | → Port Bugs |
---|---|
Owner: | changed from macports-dev@… to mww@… |
comment:3 Changed 17 years ago by mww@…
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 17 years ago by zioproto@…
I fixed install nawk manually
sudo port install nawk sudo port install sqlite3
comment:5 Changed 17 years ago by matt macports@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
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 17 years ago by mww@…
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
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;
Note: See
TracTickets for help on using
tickets.
Thank you very much Anders Blomdell.