#pentagram@irc.freenode.net logs for 27 Oct 2010 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[07:51:08] <-- Colourless has left IRC (Quit: casts improved invisibility)
[07:59:10] --> Colourless has joined #pentagram
[07:59:12] --- ChanServ gives channel operator status to Colourless
[09:27:01] <-- Kirben has left IRC ()
[15:32:27] <-- dominus has left IRC (Remote host closed the connection)
[15:32:37] --> dominus has joined #pentagram
[15:32:37] --- ChanServ gives channel operator status to dominus
[18:45:18] --> spioH has joined #pentagram
[18:46:35] <-- Tori has left IRC (Ping timeout: 276 seconds)
[21:24:58] --> Fingolfin has joined #pentagram
[21:24:59] --- ChanServ gives channel operator status to Fingolfin
[22:20:12] <dominus> wjp, if you are still awake, can you check http://pastebin.com/1sr5G6sC
[22:20:48] <dominus> I'm still hacking at the configure script and want to check whether a certain file exists, and I'm sure this exists part is not valid...
[22:21:13] <dominus> so this is a cry for help :)
[22:23:27] <wjp> from memory: "if test -f filename; then"
[22:23:50] <wjp> there's also a typo on line 7
[22:24:03] <dominus> oh yeah
[22:24:17] <wjp> and a more general note: this macosx_static_lib_path sounds rather... un-general?
[22:24:29] <dominus> it is unfortunately
[22:24:59] <dominus> since os x wants to prevent static building there is no way around doing it manually :(
[22:25:14] <dominus> it's what marzo did with exult
[22:25:25] <dominus> for making it build static on OSX
[22:25:26] <wjp> you may have mentioned this before, but what goes wrong with dynamic linking?
[22:25:39] <dominus> nothing
[22:25:46] <dominus> it's just for building a snapshot
[22:26:17] <dominus> out of the box pentagram builds fine, it's just not shareable with other OS X systems
[22:27:43] <dominus> and with freetype cross compiling for ppc fails with dynamic linking as on PPC the lib is located and called something else (libfreetype6.3.dylib)
[22:28:45] <dominus> but I'm thinking of fixing this with otool and only dynamic link freetype...
[22:31:13] <wjp> hmm, annoying
[22:31:45] <wjp> what is this static_lib_path typically?
[22:32:24] <wjp> (some system directory? a 3rd party directory for macports? your own?)
[22:32:34] <dominus> depends on how you setup your development env.
[22:33:06] <dominus> your own can be anything, in my case it's three different ones, for each arch (ppc, 32bit, 64bit)
[22:33:23] <dominus> or /opt/local/lib for typical macports
[22:33:30] <dominus> or /sw/lib for Fink
[22:33:38] <wjp> three different ones? you're running configure three times?
[22:33:52] <wjp> but maybe that's necessary
[22:34:03] <wjp> (given the different platforms)
[22:34:07] <dominus> yeah, I got three prefixes to seperate each arch
[22:35:58] <dominus> my snapshot script for exult http://pastebin.com/3vKWtWrj
[22:36:42] <dominus> btw, the test -f filename was the one I needed, thanks
[22:37:10] <wjp> hm, interesting
[22:37:19] <wjp> I'm not sure this usage of --prefix is right, by the way
[22:37:33] <dominus> I don't think I even need it :)
[22:37:46] <dominus> since I'm not "make install" it there
[22:38:27] <wjp> I'd have to look at Exult again to be sure, but at least for Pentagram doing that would probably affect the 'data path' built-in to the binary
[22:38:48] <dominus> it's a left over from when I tested how to make the script run
[22:38:52] <dominus> hmm, I see
[22:41:35] <dominus> another problem, seems my line 15 of the freetype stuff does not work
[22:42:08] <dominus> ah, not, it does work
[22:42:10] <dominus> nice
[22:42:43] <wjp> I wonder if there's some way to have it find libfreetype.a automatically
[22:43:16] <dominus> freetype-config doesn't give a static option, sdaly :(
[22:45:35] <wjp> bedtime... good night
[22:45:48] <dominus> good night, thanks for the help
[22:49:55] <dominus> hmm, interesting inforamtion on this http://tracker.sttz.ch/projects/1/wiki/CompileMPlayerStatic
[22:50:04] <dominus> To statically link libraries,
[22:50:16] <dominus> • they cannot be in the same location as their shared counterparts
[22:50:16] <dominus> • they have to be in an earlier path than their shared counterparts
[22:50:16] <dominus> • the search_paths_first options has to be passed to the linker to make it stop searching when it found the static library
[23:05:19] <dominus> hmm, with this information it might be possible to do it more generic. let's try...