Opened 12 years ago

Closed 12 years ago

#34720 closed defect (invalid)

`sudo port install sqlitedbrowser` does not appear to yield a working install of SQLite Database Browser

Reported by: sam.kuper@… Owned by: phw@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: sqlitedbrowser

Description

$ sudo port install sqlitedbrowser
Password:
--->  Computing dependencies for sqlitedbrowser
--->  Fetching archive for sqlitedbrowser
--->  Attempting to fetch sqlitedbrowser-0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/sqlitedbrowser
--->  Attempting to fetch sqlitedbrowser-0_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/sqlitedbrowser
--->  Installing sqlitedbrowser @0_0
--->  Activating sqlitedbrowser @0_0
--->  Cleaning sqlitedbrowser
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.
$ echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin [...]
$ which sqlitedbrowser
$ which sqlitebrowser
$

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to phw@…

Then what did it install? Use "port contents sqlitedbrowser" to find out.

comment:2 Changed 12 years ago by sam.kuper@…

Aha. Thanks for the tip!

$ sudo port contents sqlitedbrowser
Port sqlitedbrowser contains:
  /Applications/MacPorts/sqlitestudio.app/Contents/Info.plist
  /Applications/MacPorts/sqlitestudio.app/Contents/MacOS/sqlitestudio
  /Applications/MacPorts/sqlitestudio.app/Contents/PkgInfo
  /Applications/MacPorts/sqlitestudio.app/Contents/Resources/empty.lproj

I guess I'm used to MacPorts installs appearing in directories in my $PATH, and /Applications/MacPorts/ isn't in my $PATH. Anyhow, running /Applications/MacPorts/sqlitestudio.app/Contents/MacOS/sqlitestudio from the command line brings up SQLite Studio, which seems to incorporate SQLite Database Browser :)

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Looks like this port installs a GUI app that you're expected to double-click in the Finder, not a command-line program.

Note: See TracTickets for help on using tickets.