Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
building on amd64, sqlite3pp int64 casting fix
  • Loading branch information
Richard Jones committed Mar 17, 2009
1 parent cd8eb39 commit 10e2a6f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions playdar-daemon/INSTALL.txt
Expand Up @@ -32,10 +32,26 @@ Assuming debian/ubuntu. Otherwise find similarly named packages:
$ for f in `ls libboo*-gcc43-mt.so`; do L=`echo $f \
| sed 's/-gcc43-mt//'`; echo $L; ln -s $f $L; done

In Ubuntu 8.10 (intrepid) you can do this:

sudo apt-get install libboost-thread1.35-dev libboost-thread1.35.0 \
libboost-system1.35-dev libboost-system1.35.0 libboost-regex1.35-dev \
libboost-regex1.35.0 libboost-program-options1.35.0 \
libboost-program-options1.35-dev libboost-iostreams1.35.0 \
libboost-iostreams1.35-dev libboost-filesystem1.35.0 \
libboost-filesystem1.35-dev doxygen

3) You need liburiparser 0.7.0 or higher.
The version in ubuntu Ibex is too old - build from source.
http://uriparser.sourceforge.net/

Build it like so:

$ ./configure --disable-test
$ make
$ make install

You can ignore it if it complains about Doxygen.


Mac Dependencies
Expand Down
2 changes: 1 addition & 1 deletion playdar-daemon/deps/sqlite3pp-read-only/sqlite3pp.cpp
Expand Up @@ -35,7 +35,7 @@ namespace sqlite3pp
(*h)();
}

void update_hook_impl(void* p, int opcode, char const* dbname, char const* tablename, int64_t rowid)
void update_hook_impl(void* p, int opcode, char const* dbname, char const* tablename, /*int64_t*/ sqlite3_int64 rowid)
{
database::update_handler* h = static_cast<database::update_handler*>(p);
(*h)(opcode, dbname, tablename, rowid);
Expand Down

0 comments on commit 10e2a6f

Please sign in to comment.