#pentagram@irc.freenode.net logs for 23 Jun 2005 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage

[00:32:43] --> pen has joined #pentagram
[00:33:43] --- pen is now known as pen_hive
[00:34:17] <pen_hive> hey
[00:36:49] <pen_hive> anyone awake?
[00:39:57] <wjp> hi
[00:40:05] <wjp> barely :-)
[00:40:13] <pen_hive> so it seems :P
[00:40:54] <pen_hive> i don't know if this is the right place to ask about this but.. i've been having some problems compiling pentagram...
[00:41:15] <wjp> this is the right place :-)
[00:41:49] <pen_hive> coool : )
[00:42:03] <pen_hive> it's like this... the bootstrap process goes smoothly
[00:42:06] <pen_hive> so does the config
[00:42:48] <pen_hive> but when i try to make... it spills out an eerror stating that glob_t isn't declared on the scope of ListFiles.h line 388
[00:43:00] <wjp> ah, you're the one who submitted a bug report
[00:43:05] <pen_hive> yheap
[00:43:20] <wjp> did you see the question I added to it?
[00:43:23] <pen_hive> i got home allready and posted the error output
[00:43:26] <pen_hive> nope.. sorry
[00:43:29] <pen_hive> missed it
[00:43:40] <pen_hive> going there right now :P
[00:44:26] <pen_hive> damn.. i missed it by like.. 5 minutes
[00:45:23] <pen_hive> hmmm
[00:45:43] <pen_hive> i there's no entry of glob in section 2 of my man pages
[00:45:57] <pen_hive> wait.. it0's 3.. not 2.. -_-
[00:46:25] <pen_hive> yhea... supposedly, i have glob() and glob_t access
[00:46:51] <pen_hive> the manpage mentions that both of them are located on glob.h
[00:46:57] <wjp> does it list any includes other than glob.h in the synopsis?
[00:47:15] <pen_hive> and when i try to make pentagram it doesn0t say anything about missing glob.h\
[00:47:19] <pen_hive> no
[00:47:20] <pen_hive> the only include is glob.h
[00:47:23] <wjp> strange
[00:47:26] <wjp> which OS X?
[00:47:28] <pen_hive> you bet
[00:47:30] <wjp> (version)
[00:47:31] <pen_hive> tiger
[00:47:34] <pen_hive> 10.4.1
[00:48:31] <pen_hive> i can (and allways could) compile it on linux. have done it a couple of times in several diferent distros...
[00:48:40] <pen_hive> but i never mannaged to compile it under OSX
[00:48:52] <wjp> which file was it compiling when it gave the error?
[00:48:55] <pen_hive> can0't remember if it was the same error when i was running 10.3 though = /
[00:49:06] <pen_hive> ListFiles.h
[00:49:07] <Colourless> std::glob_t or something silly?
[00:49:10] <pen_hive> line 388
[00:49:22] <wjp> Colourless: hm, possibly
[00:49:25] <pen_hive> want me to copy paste the error output?
[00:49:42] <pen_hive> it's not long... only some 8 lines or something
[00:49:49] <wjp> this happened while compiling FileSystem.cpp I assume?
[00:49:56] <wjp> it's already in the bug report, right?
[00:49:59] <pen_hive> most of them are cuz of the miss declaration of globres
[00:50:02] <pen_hive> yhea it is
[00:50:09] <pen_hive> i added it like 5 minutes before your post
[00:50:48] <wjp> how familiar are you with reading C?
[00:50:57] <pen_hive> yhea it happened when compiling FileSystem.cpp
[00:51:16] <pen_hive> c.. pretty much... c++, i don't really know my way in :P
[00:51:32] <wjp> hm, are you using a case sensitive or case insensitive file system?
[00:51:39] <pen_hive> case sensitive
[00:51:44] <pen_hive> OSX is based on bsd
[00:51:57] <wjp> so it shouldn't be picking up world/Glob.h instead of /usr/include/glob.h
[00:52:14] <pen_hive> no. it shouldn't
[00:52:28] <wjp> hm
[00:52:38] <Colourless> is glob.h included with <> ?
[00:52:41] <wjp> yes
[00:52:48] <pen_hive> i can check that :P
[00:52:51] <pen_hive> if you want
[00:53:03] <wjp> I already checked earlier tonight :-)
[00:53:04] <Colourless> try #inculde "/usr/include/glob.h"
[00:53:12] <Colourless> #include "/usr/include/glob.h"
[00:53:13] <pen_hive> k
[00:54:42] <wjp> FileSystem.cpp doesn't include our Glob.h either, so it probably isn't a #ifdef GLOB_H either
[00:54:51] <wjp> ifndef
[00:55:27] <wjp> hm, unfortunately I only have access to Mac OS X 10.2 through the SF compile farm
[00:55:36] <pen_hive> just one question
[00:55:40] <wjp> I wonder if they changed glob.h since then
[00:55:58] <pen_hive> nevermind the question
[00:56:35] <pen_hive> heyy
[00:56:43] <pen_hive> there is no glob.h include on the FileSystem.h
[00:56:55] <wjp> it's down near the bottom somewhere
[00:57:01] <pen_hive> ah.. k
[00:57:06] <pen_hive> i was looking at the top of the file
[00:57:07] <pen_hive> sorry
[00:57:16] <wjp> ListFiles.h, by the way
[00:57:28] <pen_hive> errr yhea that
[00:57:59] <wjp> could you take a look at /usr/include/glob.h to see if there are any #ifdef's or #ifndef's in there other than the normal #ifndef _GLOB_H ?
[00:58:15] <wjp> although I can't really imagine that would be the problem
[00:58:29] <pen_hive> sure
[00:59:44] <pen_hive> there's the ifndef _SIZE_T
[01:00:02] <pen_hive> _POSIX_C_SOURVE is also idnfed'ed
[01:00:15] <pen_hive> SOURCE i mean.. not SOURVE
[01:00:29] <pen_hive> and that's it
[01:01:14] <pen_hive> it's done
[01:01:16] <pen_hive> it compiled
[01:01:45] <wjp> with #include "/usr/include/glob.h" ?
[01:01:59] <pen_hive> all i did was change the include from <glob.h> to "/usr/include/glob.h"
[01:02:01] <pen_hive> yeha
[01:02:12] <wjp> peculiar
[01:02:21] <wjp> are you really sure you don't have a case insensitive file system?
[01:02:40] <pen_hive> really sure :P believe me
[01:02:53] <wjp> any other glob.h files on your system?
[01:03:02] <pen_hive> not that i know of
[01:03:36] <wjp> there almost has to be one if it's not including /usr/include/glob.h
[01:04:07] <pen_hive> yhea i know that.. but there's also no reason for another glob.h to exist on my system :P
[01:04:29] <wjp> 'locate glob.h' ?
[01:04:40] <pen_hive> unless some stupid packet added one
[01:05:07] <pen_hive> HARG...
[01:05:14] <pen_hive> you're kind of right
[01:05:43] <pen_hive> there are more glob's on my system... none of them is a c header file though :P
[01:06:00] <pen_hive> yhea.. /usr/include/glob.h is the only glob.h that i have
[01:07:28] <wjp> could you try the following?
[01:07:36] <wjp> replace "/usr/include/glob.h" with <glob.h> again
[01:07:46] <wjp> run make (and watch it fail again)
[01:07:46] <pen_hive> k
[01:07:59] <pen_hive> brb.. phone
[01:08:24] <wjp> copy-paste the last compile command-line into a terminal, replacing the "-o filesys/FileSystem.o" by "-E -o blah"
[01:08:38] <wjp> and then run "grep -i glob blah"
[01:09:20] <-- Colourless has left IRC (Read error: 145 (Connection timed out))
[01:09:48] <pen_hive> back
[01:09:59] --> Colourless has joined #Pentagram
[01:09:59] --- ChanServ gives channel operator status to Colourless
[01:11:41] <pen_hive> it seems that it's trying to use ".world/glob.h"
[01:11:48] <pen_hive> err
[01:11:54] <pen_hive> ./world/glob.h
[01:12:22] <wjp> that file should be called Glob.h
[01:12:54] <wjp> I do wonder why it's using a file in a -I path before a system path when using #include <>
[01:12:56] <pen_hive> and it is
[01:13:07] <pen_hive> called Glob.h i mean
[01:13:13] <Colourless> did you try doing this as i said
[01:13:14] <Colourless> #include "/usr/include/glob.h"
[01:13:19] <pen_hive> yes
[01:13:22] <pen_hive> that way it compiles
[01:13:29] <pen_hive> tks :P
[01:13:39] <Colourless> what filesystem type are you using?
[01:13:46] <pen_hive> we're just trying to understand why it's not using the /usr/include/glob.h
[01:13:53] <pen_hive> OSX 10.4
[01:13:57] <Colourless> what filesystem type are you using?
[01:13:57] <pen_hive> it's bsd basicly
[01:14:14] <pen_hive> it's apple's filesystem
[01:14:22] <pen_hive> can't remember the name or structure of it
[01:14:46] <Colourless> HSF+ ?
[01:14:51] <wjp> hfs
[01:14:51] <pen_hive> yheap
[01:14:53] <pen_hive> hfs+
[01:14:57] <Colourless> The preferred filesystem for Mac OS X is Apple's HFS+ and most
[01:14:57] <Colourless> setups use it. HFS+ is a case insensitive filesystem.
[01:14:59] <pen_hive> or without the +
[01:15:08] <pen_hive> it's insensitive?
[01:15:31] <pen_hive> damn... it doesn't let the user work in insensitive mode
[01:15:44] <Colourless> yes
[01:16:15] <wjp> so that means we have a problem :-)
[01:16:18] <pen_hive> i allways thought it was case sensitive cuz basicly the command line only works in sensitive mode
[01:16:22] <pen_hive> yheap
[01:16:28] <pen_hive> :P
[01:16:38] <wjp> maybe we should just rename Glob.h
[01:16:49] <wjp> although I'm not quite sure what to, if at all
[01:17:57] <wjp> ah, interesting
[01:18:02] <pen_hive> ?
[01:18:12] <wjp> gcc has a '-I-' option which splits the -I options in two groups
[01:18:49] <wjp> one only for #include "" (not for #include <>)
[01:18:59] <Colourless> hmm you can make it case sensitive
[01:19:13] <Colourless> but you would probably need to reformat your system
[01:19:18] <pen_hive> yhea
[01:19:21] <pen_hive> i guess so
[01:19:34] <Colourless> http://www.codepoetry.net/archives/2003/10/26/casesensitive_hfs_for_the_masses.php
[01:19:45] <pen_hive> tks Colourless :P
[01:19:59] <Colourless> probably just a bit flag in the FS header or something equally simple
[01:20:12] <pen_hive> yhea
[01:21:46] <pen_hive> hmm seems that there's no need to re.-install the system.. i just have to unmoiunt the volume and change a flag of the device.. then re-mount it
[01:21:48] <wjp> adding "-I- -I./misc" at the end of the compile commandline for FileSystem.o should also fix it
[01:22:24] <wjp> (for the logs: the -I./misc is needed because we use #include <config.h>, strangely)
[01:23:50] <wjp> I have to go; thanks for the report :-)
[01:23:53] <wjp> good night
[01:23:57] <pen_hive> no prob :P
[01:24:00] <pen_hive> good night
[01:25:00] <pen_hive> i'm gonna hang around until the compilation is finished.. just in case there's another error :P
[01:34:34] <-- Colourless has left IRC (Read error: 110 (Connection timed out))
[01:35:06] --> Colourless has joined #Pentagram
[01:35:06] --- ChanServ gives channel operator status to Colourless
[01:38:34] <pen_hive> aparently.. it compiled
[01:45:51] <pen_hive> yhea. it's working :P
[01:45:57] <pen_hive> thanks a lot guys :P
[01:47:12] <pen_hive> bye:P gonna play some u8
[01:47:17] <-- pen_hive has left IRC ()
[10:13:43] --> sbx has joined #pentagram
[10:30:25] <-- Colourless has left IRC ("casts improved invisibility")
[12:56:47] <-- sbx has left IRC ("casts gate travel")
[12:59:10] --> sbx has joined #pentagram