IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1825.87 MB
Powered by
Channel Info
Network: freenodeChannel: #netbsd |
Search in www.irclog.org
Log from #netbsd at freenode 2006-05-30
[22:45]<dyfjsg>hmmm
[22:45]<dyfjsg>heleluja.
[22:49]<mzgrmygm>hm, is it ok to fix http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=33558 by doing a patch for the configure script which unsets DIFF?
[22:50]<zzgm_zrgmrpp>hey milosn
[22:50]<zzgm_zrgmrpp>hello sjamaan
[22:50]<srrdrrg>hey grey_gandalf
[22:50]<zzgm_zrgmrpp>I'm tryng to build gworkspace from sources, it needs sqlite3
[22:50]<rflxrwrvns>:)
[22:51]<zzgm_zrgmrpp>I installed it as from pkgsrc
[22:51]<rflxrwrvns>\o hello
[22:51]<zzgm_zrgmrpp>(sqlkite3)
[22:51]<srrdrrg>AlphaWaves: Try not to anger YazzY again plz :)
[22:51]<zzgm_zrgmrpp>I get this
[22:51]<zzgm_zrgmrpp>configure:3299: gcc -o conftest -g -O2 -I/usr/pkg/include -L/usr/pkg/lib -lsqli
[22:51]<zzgm_zrgmrpp>te3 conftest.c -lsqlite3 >&5
[22:51]<zzgm_zrgmrpp>configure:3302: $? = 0
[22:51]<zzgm_zrgmrpp>configure:3304: ./conftest
[22:51]<zzgm_zrgmrpp>Shared object "libsqlite3.so.0" not found
[22:51]<zzgm_zrgmrpp>but the lib is there
[22:52]<srrdrrg>grey_gandalf: Do you include the sqlite buildlink file?
[22:52]<zzgm_zrgmrpp>sjamaan: sorry ?
[22:52]<srrdrrg>libraries are only visible to packages if they include the buildlink file
[22:52]<rflxrwrvns>sjamaan> i will if possible
[22:52]<dyfjsg>grey_gandalf: hey
[22:52]<zzgm_zrgmrpp>sjamaan: I am not bullding a package now, but some independent sources
[22:52]<rflxrwrvns>but he's just a pride ass ;)
[22:52]<srrdrrg>oh
[22:53]<srrdrrg>AlphaWaves: Yeah, I know, but keep it to yourself, aight?
[22:53]<zzgm_zrgmrpp>which I configured as
[22:53]<zzgm_zrgmrpp>./configure --with-sqlite-library=/usr/pkg/lib --with-sqlite-include=/usr/pk
[22:53]<zzgm_zrgmrpp>g/include
[22:53]<rflxrwrvns>oh k.
[22:53]<srrdrrg>grey_gandalf: Looks like you're missing a -R flag
[22:53]<zzgm_zrgmrpp>sjamaan: do you think it may be a LD_LIBRARY_PATH problem since the library path is not embedded ?
[22:53]<zzgm_zrgmrpp>ok
[22:53]<zzgm_zrgmrpp>feared so
[22:53]<srrdrrg>yes, that's the issue
[22:54]<zzgm_zrgmrpp>but usually nobody uses -R
[22:54]<srrdrrg>You can probably patch the Makefile.am easily
[22:54]<srrdrrg>Only Linux kids don't use the -R
[22:54]<zzgm_zrgmrpp>:)
[22:54]<zzgm_zrgmrpp>-Wl,R IIRC
[22:55]<srrdrrg>Yes, that's even better
[22:55]<zzgm_zrgmrpp>I'll discuss that with the author
[22:55]<srrdrrg>Good
[22:55]<zzgm_zrgmrpp>a workarund for now though ?
[22:56]<zzgm_zrgmrpp>hmm, I need to have configure finish first
[22:56]<srrdrrg>export an LD_LIBRARY_PATH
[22:56]<srrdrrg>configure tries to build and run a program
[22:56]<srrdrrg>That fails
[22:56]<mg1>hey
[22:57]<zzgm_zrgmrpp>indeed.
[23:00]<zzgm_zrgmrpp>I write him a mail, usually he is supportive for netbsd and solaris, which is a good thing
[23:01]<srrdrrg>Cool
[23:01]<zzgm_zrgmrpp>too many developers are linux centric
[23:01]<srrdrrg>Try to include a patch if you can
[23:01]<zzgm_zrgmrpp>LD_LIBRARY_PATH made configure end, now I build the program.
[23:01]<zzgm_zrgmrpp>so the next time gworkspace is packaged for gnustep it will work and packages won't have surprises
[23:02]<zzgm_zrgmrpp>sjamaan: another thing: I need to build my own kernel to test some stuff. But I am not able anymore.
[23:02]<zzgm_zrgmrpp>I don't have the full netbsd sources, I try to have only "sys" due to space constraints
[23:02]<srrdrrg>So why doesn't it work?
[23:02]<zzgm_zrgmrpp>make files, I googled but nobody had this problem with the kernel
[23:03]<zzgm_zrgmrpp>in the userland yes though
[23:03]<srrdrrg>?
[23:03]<srrdrrg>Oh, /make fails/?
[23:03]<zzgm_zrgmrpp>yes
[23:03]<zzgm_zrgmrpp>config works, but make files
[23:03]<zzgm_zrgmrpp>make: "../../../../conf/../../../../conf/Makefile.kern.inc" line 79: Malformed conditional (${HAVE_GCC} > 3)
[23:04]<srrdrrg>Hmm, I had that one too
[23:04]<zzgm_zrgmrpp>but my conf line is up-to-date
[23:04]<zzgm_zrgmrpp>I _guess_ my config is up to date too
[23:04]<srrdrrg>You can quote like this: ("${HAVE_GCC}" > 3)
[23:04]<srrdrrg>That ought to work
[23:04]<zzgm_zrgmrpp>are you able to build a kernel ?
[23:04]<srrdrrg>I built fdisk with that patch
[23:05]<srrdrrg>I don't have current on my system
[23:05]<srrdrrg>the problem is that HAVE_GCC is undefined
[23:05]<srrdrrg>So that evaluates to ( > 3), which is of course nonsense
[23:05]<srrdrrg>With quotes it evals to ("" > 3), which makes more sense
[23:06]<zzgm_zrgmrpp>probably HAVE_GCC should be like 2, 3, 4 being the gcc major version ?
[23:06]<srrdrrg>yes
[23:06]<srrdrrg>See http://wiki.onetbsd.org/index.php/BSD_Make#Special_constructs
[23:07]<zzgm_zrgmrpp>I wonder where it hsould get defined then
[23:07]<zzgm_zrgmrpp>I have 3.0 userland here, so pretty recent
[23:07]<srrdrrg>In mk.conf, or just quote the variable as I showed
[23:07]<zzgm_zrgmrpp>ok, so that makefile is "bad written" anyway and should be fixed
[23:07]<srrdrrg>Yeah
[23:08]<srrdrrg>Maybe one of the committers in here can fix it
[23:08]<srrdrrg>rillig, ghen maybe? :)
[23:09]<zzgm_zrgmrpp>hmm
[23:09]<zzgm_zrgmrpp>make: "../../../../conf/../../../../conf/Makefile.kern.inc" line 79: warning: String comparison operator should be either == or !=
[23:09]<zzgm_zrgmrpp>make: "../../../../conf/../../../../conf/Makefile.kern.inc" line 79: Malformed conditional ("${HAVE_GCC}" > 3)
[23:09]<zzgm_zrgmrpp>it is not ok...
[23:09]<srrdrrg>That's weird
[23:10]<rflxrwrvns>grey_gandalf> just pray Soron...
[23:10]<rflxrwrvns>;p
[23:11]<zyffyr>like this:?
[23:11]<zyffyr>.if defined(HAVE_GCC) && ${HAVE_GCC} > 3
[23:12]<srrdrrg>That would work too, I guess
[23:12]<zyffyr>so which file are you talking about?







