/srv/irclogs.ubuntu.com/2013/03/19/#ubuntuone.txt

=== karni_ is now known as karni
=== karni is now known as Guest90309
=== Guest90309 is now known as karni
=== eu is now known as Guest30622
=== pedronis_ is now known as pedronis
JamesTaitGood morning all! :)09:38
=== gatox is now known as gatox_brb
JoseExpositoHi! The U1DB C implementation is ported to OS X?12:35
=== gatox_brb is now known as gatox
ralsina_JoseExposito: we have not tried it AFAIK but it's portable code12:57
ralsina_JoseExposito: and the build system supports OSX just fine12:57
JoseExpositoralsina_: I have made some modifications in the CMakeList.txt to build the target as universal and use the MacPorts deps12:59
JoseExpositoralsina_: But the libu1db.a is generated with this problems:12:59
JoseExposito-- Installing: /opt/local/lib/libu1db.a /usr/bin/ranlib: for architecture: i386 file: /opt/local/lib/libu1db.a(mkstemp_compat.c.o) has no symbols /usr/bin/ranlib: for architecture: x86_64 file: /opt/local/lib/libu1db.a(mkstemp_compat.c.o) has no symbols12:59
JoseExpositoralsina_: I'm trying to build the dylib too, using cmake -DBUILD_SHARED_LIBS=113:00
ralsina_hmmmm13:00
ralsina_let me research 1'13:00
JoseExpositobut I have link errors: http://pastebin.com/9hTAtVbs13:01
ralsina_JoseExposito: that file is not needed in mac13:01
ralsina_mkstemp_compat.c I mean13:01
JoseExpositoit have a #ifdef _MSC_VER, that is not defined in my env13:04
JoseExpositoralsina_: Making a simple u1db_open() from a C++/Qt project in Ubuntu I have the same undefined symbols error13:05
ralsina_JoseExposito: exactly, it has the _MSC_VER because it's for VS13:05
ralsina_on windows13:05
ralsina_JoseExposito: the linking errors seem to indicate it's not finding every dependency for some reason13:06
JoseExpositoralsina_: Here my changes in CMakeList.txt: http://pastebin.com/zfiujFSe13:09
ralsina_JoseExposito: I don'thave a mac handy... can you come back in ~ 3 hours13:10
ralsina_?13:10
ralsina_I'll have a mac guy here :-)13:10
JoseExpositook, no problem!13:10
JoseExpositoanyway, I have similar problems with the Ubuntu package... Lets mi a second to test it13:11
JoseExpositoooops more than a second, I haven't got my devel vm here...13:14
ralsina_JoseExposito: no rush :-)13:16
=== wedgwood_away is now known as wedgwood
=== eu is now known as Guest34093
dobeyhrmm, those things are something that should be set internally in cmake, and not something we should have to set, as i understand it14:34
ralsina_JoseExposito: you can change the includes and link directories via options, putting them in the CMakeLists is not a good idea14:55
ralsina_JoseExposito: you can even use ccmake to change them "with a ui"14:55
=== Guest34093 is now known as adorilson
=== dduffey_afk is now known as dduffey
=== doctord90 is now known as DoctorD90
=== gatox is now known as gatox_lunch
=== DoctorD90 is now known as doctord90
=== doctord90 is now known as DoctorD90
=== DoctorD90 is now known as doctord90
=== doctord90 is now known as DoctorD90
=== DoctorD90 is now known as doctord90
=== gatox_lunch is now known as gatox
JoseExpositoralsina_: The same problem in Ubuntu, with apt-get install libu1db-dev17:03
JoseExpositowhen call u1db_open I have an undefined reference error, confirmed17:04
ralsina_JoseExposito: weird17:04
JoseExpositoralsina_: u1database *dbHandler = u1db_open("/home/jose/test.u1db");17:06
JoseExpositoundefined reference to u1db_open(char const*)17:07
=== gatox_ultra is now known as gatox
JoseExpositoand of course LIBS += -lu1db in the .pro file17:07
=== salgado is now known as salgado-lunch
=== salgado-lunch is now known as salgado
=== eu is now known as Guest49656
dobeyjoshuahoover: hrmm, that is quite odd. that's on ubuntu 12.10, or 13.04? and with any PPA enabled? or built from trunk or something?19:51
joshuahoover??19:51
dobeyjoshuahoover: oh sorry20:00
joshuahoover:)20:01
dobeyjoshuahoover: didn't pay attention to the tab complete. that was for jose, who is apparently not in the channel20:01
=== wedgwood is now known as wedgwood_away

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!