IRC Logs for #crux-devel Monday, 2010-06-28

frinnstwhy is python 2.7 chosen over 3.1.2 in 2.7?05:01
*** deus_ex has quit IRC05:09
*** deus_ex has joined #crux-devel05:24
frinnstteK_: http://crux.nu/bugs/index.php?do=details&task_id=61206:15
teK_frinnst: acc07:09
teK_ack.07:09
teK_I meant07:09
teK_I think its better to user pkg-config. Objections?07:26
frinnsthuh?07:43
frinnstah, use07:43
frinnst:>07:43
teK_yes, making a phone call right now07:45
*** pitillo has quit IRC13:00
*** nipuL_ has quit IRC13:00
*** deus_ex has quit IRC13:00
*** j^2 has quit IRC13:00
*** frinnst has quit IRC13:00
*** deus_ex has joined #crux-devel13:00
*** nipuL_ has joined #crux-devel13:00
*** j^2 has joined #crux-devel13:00
*** frinnst has joined #crux-devel13:00
*** pitillo has joined #crux-devel13:00
*** pitillo_ has joined #crux-devel13:04
*** pitillo has quit IRC13:05
*** maro has joined #crux-devel13:14
*** j^2 has quit IRC13:57
*** j^2 has joined #crux-devel13:58
teK_ping?15:16
teK_I'd need some help with the Makefile format15:16
teK_:)15:16
jaegerI can try to help, but I'm no expert15:17
teK_I nead to get the output of pkg-config into the LDCONFIG var15:17
teK_`pkg-config ...` does not do the trick I guess15:17
jaegerenv vars are fuckin' voodoo in Makefiles15:17
teK_make says: /usr/bin/g++ -lXft -lX11 -lfreetype -lXrender `pkg-config --libs libpng` -lfontconfig15:17
teK_so I don't know wether it got substituted or not15:17
teK_voodoo sounds.. avoid-worthy :P15:18
jaegertry $(shell whatever)15:18
teK_neither.15:18
jaegerblah := $(shell cat foo)15:18
teK_an then LDFLAGS+=${blah} ?15:18
jaegerJust a guess, I always have to play with it until something works15:19
teK_I'll sed the flags into the Makefile15:19
jaegerbut I think I remember $(shell command) being the trick15:19
teK_.15:19
jaegeror that15:19
pitillo_teK_: VAR_CFLAGS="`pkg-config --cflags`"15:25
teK_no CFLAGS+= after that?15:26
pitillo_yep, = or += ... the point is how pkg-config is called I think15:30
teK_CFLAGS=-Wall -I. -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include15:31
teK_CFLAGS+="`pkg-config --cflags libpng`"15:31
teK_won't work15:31
jaegerteK_: backticks seem to work in an echo for me but not assigning15:33
jaegerecho "Test1: `pkg-config --cflags gtk+-2.0`"15:33
jaegerworks, for example15:33
teK_jaeger: for echo i got this working, too15:33
teK_BLA=`pkg-config --cflags libpng`15:34
teK_LDCONFIG=-W15:34
teK_LDCONFIG+=${BLA}15:34
teK_correct: @echo ${LDCONFIG}15:34
jaegerhrm15:56
pitillo_teK_: moving out the pkg-config call http://paste.pocoo.org/show/231094/15:59
pitillo_BLA without the " too, there is no need in this case16:00
pitillo_another one with the pkg-config call with `` http://paste.pocoo.org/show/231097/16:03
teK_one moment pls16:07
*** deus_ex has quit IRC17:26
*** deus_ex has joined #crux-devel17:31
*** __mavrick61 has quit IRC21:43
*** __mavrick61 has joined #crux-devel21:44

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