Re: NIS
Are your dates screwed up? By that I mean is master.passwd newer than your NIS file? Try touch(1)ing your NIS file and then running make. I've never actually setup NIS before. My comment is just based on my experiences with make. -Bob On Tue, 2005-01-04 at 17:29 -0500, Brian McCann wrote: HI all...I'm having a NIS problem I can't figure out. I've done this before on 4.7, and countless other times on RedHat...but this is evading me. I'm trying to re-make my databases since I've added a user, I go into /var/yp and run make mynis and get `mynis' is up to date., which I know can't be right. I've got to be missing something somewhere. I've added the line to the Makefile MASTER_PASSWD = /etc/master.passwd so that YP uses the file in /etc...or at least...that's all I recall having to do on 4.7, and doctored up the sections that involve the passwd files changed it to only look at UIDs greater then 3. Can someone point out my probably obvious mistake? Thanks, --Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] === This footer was appended by the Honeypot Injector The message was injected from 216.136.204.119 on 04 Jan 2005 14:29:24 -0800. This IP was classified in the WHITELIST sender group. The org ID is 1681939, and the SBRS is 2.1 === ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Graphical C programming with GTK 2.0
The output you pasted below used single quotes instead of backticks for the pkg_config portion of the argument. Single quote: ', backtick `. I'm not sure why you used single quotes there, because your examples in your email used backticks. Also, it looks like you're missing some of the glib and pango libraries. However, once you get your pkg_config part working right the include directories might get set right and it might actually compile. Good luck. -Bob On Fri, 2004-12-10 at 19:48 +, Frank Staals wrote: I would like to build graphical C programs, therefor I wanted to use GTK. I tried to build the first program in the GTK Tutorial: http://www.gtk.org/tutorial/ch-gettingstarted.html and I tried to compile it as it was explained there: gcc mainwindow.c -o mainwindow `pkg-config --cflags --libs gtk+-2.0` I couldn't compile it because of it couldn't find gtk.h, so I used this: gcc mainwindow.c -o mainwindow -I/usr/X11R6/incluse/gtk-2.0/ `pkg-config --cflags --libs gtk+-2.0` but it still doesn't work, the first lines of the error are inlcuded with this e-mail. I hope someone can tell me what to do so I can compile my program Frank Staals === This footer was appended by the Honeypot Injector The message was injected from 216.136.204.119 on 10 Dec 2004 10:48:38 -0800. This IP was classified in the Unknown sender group. The org ID is 1681939, and the SBRS is 2.1 === plain text document attachment (error_gtk.txt) bash-3.00$ gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ 'pkg-config --cflags --libs gtk+-2.0' gcc: pkg-config --cflags --libs gtk+-2.0: No such file or directory In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:32:18: glib.h: No such file or directory /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such file or directory /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:34:25: glib-object.h: No such file or directory In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: error: syntax error before GdkWChar /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: error: syntax error before GdkNativeWindow /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:170: error: syntax error before data /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:174: error: syntax error before data /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:178: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:184: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:192: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:200: error: syntax error before gint In file included from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:19: error: syntax error before guint32 /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:41: error: syntax error before GObject /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:50: error: syntax error before gpointer /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:55: error: syntax error before GObjectClass /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before gdk_colormap_get_type /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before G_GNUC_CONST /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:62: error: syntax error before gboolean /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: error: syntax error before gdk_colormap_get_system_size /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:82: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:85: error: syntax error before gdk_colormap_alloc_colors /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:87: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:90: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:91: error: syntax error before gdk_colormap_alloc_color
Re: PHP5-extensions menu - where is it ?
I'm pretty sure make clean from that port's directory will do it. If not, rm -rf work from that port's directory definitely will. Getting the menu not to show up (perhaps doing automated updates with portupgrade, for instance) is done by adding the proper variables to /etc/make.conf. -Bob On Sat, 2004-12-11 at 00:35 +, Mrio Gamito wrote: Hi, I've installed PHP5-extensions. At the begining of the process, a menu appears to one can choose what he wants PHP to suppport. I want to rebuild, but i can't get that menu anymore. It just rebuilds with the same options i've choose the first time in that menu. How can i make that menu reapear ? Thank you. Warm Regards. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Graphical C programming with GTK 2.0
The attachments prove that the .pc file is installed, however, not where pkg_config is looking. A workaround for this is to set the PKG_CONFIG_PATH environment variable. See pkg-config(1). The second attachment you gave, with the very small number of errors looks to me like you've got a missing semi-colon or similar in your main.c file (the early line number could also hint at a munged #include). But this second run you gave shows that the problem you're having is no longer with gtk/glib/pango but with your own code. So either set the environment variable I mentioned above (consider a makefile) or continue using the path to the .pc file that you've shown to work and start debugging your app. -Bob On Fri, 2004-12-10 at 22:38 +, Frank Staals wrote: Bob Van Zant wrote: The output you pasted below used single quotes instead of backticks for the pkg_config portion of the argument. Single quote: ', backtick `. I'm not sure why you used single quotes there, because your examples in your email used backticks. Also, it looks like you're missing some of the glib and pango libraries. However, once you get your pkg_config part working right the include directories might get set right and it might actually compile. Good luck. -Bob Hmm I copied the examples into this e-mail, but when I use ` statements I get error_gtk2.txt (attachment ) then I tried to compile it like this: gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ `pkg-config --cflags --libs /usr/X11R6/libdata/pkgconfig/gtk+-2.0.pc` That gave error_gtk3.txt ( attachment ) What do I have to do to compile it correct ? === This footer was appended by the Honeypot Injector The message was injected from 216.136.204.119 on 10 Dec 2004 13:39:14 -0800. This IP was classified in the WHITELIST sender group. The org ID is 1681939, and the SBRS is 2.1 === plain text document attachment (error_gtk2.txt) bash-3.00$ gcc mainwindow.c -o mainwindow -I/usr/X11R6/include/gtk-2.0/ `pkg-config --cflags --libs gtk+2.0` gnome-config: not found Package gtk+2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+2.0' found In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:32:18: glib.h: No such file or directory /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:33:25: pango/pango.h: No such file or directory /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:34:25: glib-object.h: No such file or directory In file included from /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:4, from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: error: syntax error before GdkWChar /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:76: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: error: syntax error before GdkNativeWindow /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:89: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:170: error: syntax error before data /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:174: error: syntax error before data /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:178: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:184: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:192: error: syntax error before gint /usr/X11R6/include/gtk-2.0/gdk/gdktypes.h:200: error: syntax error before gint In file included from /usr/X11R6/include/gtk-2.0/gdk/gdk.h:30, from /usr/X11R6/include/gtk-2.0/gtk/gtk.h:31, from mainwindow.c:1: /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:19: error: syntax error before guint32 /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:41: error: syntax error before GObject /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:50: error: syntax error before gpointer /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:55: error: syntax error before GObjectClass /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before gdk_colormap_get_type /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: error: syntax error before G_GNUC_CONST /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:59: warning: data definition has no type or storage class /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:62: error: syntax error before gboolean /usr/X11R6/include/gtk-2.0/gdk/gdkcolor.h:76: error: syntax