Opened 15 years ago

Closed 14 years ago

#19945 closed defect (fixed)

javasqlite-20060714 build failed (libtool error)

Reported by: ciriwe@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: aronnax@…, nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt)
Port: javasqlite

Description

On OS X 10.5.7 with XCode 3.1.2 and MacPorts 1.710 I get:

sudo port install javasqlite
--->  Building javasqlite
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_java_javasqlite/work/javasqlite-20060714" && make all " returned error 2
Command output: ./libtool /usr/bin/gcc-4.0 -I/opt/local/include -I/opt/local/include \
	    -DHAVE_SQLITE2=1 -DHAVE_SQLITE3=1 \
	    -o native/mkconst native/mkconst.c /opt/local/lib/libsqlite.la /opt/local/lib/libsqlite3.la
libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.0'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make: *** [native/mkconst] Error 1

Error: Status 1 encountered during processing.

Attachments (5)

Portfile-javasqlite.diff (1.1 KB) - added by aronnax@… 15 years ago.
Diff of Portfile for javasqlite
patch-configure (883 bytes) - added by aronnax@… 15 years ago.
New version of file: patch-configure
patch-Makefile.in-jnilib (1.3 KB) - added by aronnax@… 15 years ago.
New version of file: patch-Makefile.in-jnilib
Portfile (1.4 KB) - added by aronnax@… 15 years ago.
New version of file: Portfile
javasqlite.tar (20.0 KB) - added by aronnax@… 15 years ago.
tar of port directory

Download all attachments as: .zip

Change History (13)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: javasqlite removed
Owner: changed from macports-tickets@… to pguyot@…

comment:2 Changed 15 years ago by aronnax@…

I am also having this issue on OS X 10.5.8. Has any progress been made on it?

comment:3 in reply to:  2 Changed 15 years ago by ciriwe@…

Replying to aronnax@…:

I never heard anything more and was never able to install successfully.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

I'm also having this issue on 10.6 and therefore MacPorts 1.8.

Changed 15 years ago by aronnax@…

Attachment: Portfile-javasqlite.diff added

Diff of Portfile for javasqlite

Changed 15 years ago by aronnax@…

Attachment: patch-configure added

New version of file: patch-configure

Changed 15 years ago by aronnax@…

Attachment: patch-Makefile.in-jnilib added

New version of file: patch-Makefile.in-jnilib

Changed 15 years ago by aronnax@…

Attachment: Portfile added

New version of file: Portfile

Changed 15 years ago by aronnax@…

Attachment: javasqlite.tar added

tar of port directory

comment:5 Changed 15 years ago by aronnax@…

I fixed build and installation on Leopard and also upgraded the port to release 20090430. However, I have not been able to test it yet because my whole reason for getting javasqlite working was so that I could open SQLite databases with Mathematica, and I am still fighting Mathematica. I would be grateful if someone with more experience with JDBC could independently verify that this port is working with the changes I have made.

I have attached a new Portfile and new source code patches. Here are the files attached to this ticket:

  • Portfile - the new portfile
  • Portfile-javasqlite.diff - diff from old portfile
  • patch-configure - a replacement for one of the source code patches
  • patch-Makefile.in-jnilib - a replacement for another one of the source code patches
  • javasqlite.tar - for convenience, a tar of the entire port directory as modified

Also, the source code patch file named patch-Makefile.in is no longer needed and can be removed.

comment:6 Changed 15 years ago by aronnax@…

Cc: aronnax@… added

Cc Me!

comment:7 Changed 14 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Keywords: libtool removed
Resolution: fixed
Status: newclosed

Thanks for the patches. 20090430 wouldn't build for me on on Snow Leopard, but 20100131 did, to which I updated the port in r66262.

Note: See TracTickets for help on using tickets.