[Slackbuilds-users] System:graveman.SlackBuild
B Kirkpatrick
bkirkp at gmail.com
Thu Jul 12 17:36:04 UTC 2007
I have been attempting to build graveman for the past couple of days
with no luck. I have found the following nits in the SlackBuild:
line 36: cd $TMP || exi t1 # should be cd $TMP || exit 1
line 37: rm -rf $PRGNAM-$VERSION # should be rm -rf $PRGNAM-$SRCVER
Neither of these should affect the compilation, however.
Following is a copy of the output from "make":
make INSTALL_PROGRAM="/bin/sh /tmp/SBo/graveman-0.3.12-5/install-sh -c
-s" \
install_sh_PROGRAM="/bin/sh /tmp/SBo/graveman-0.3.12-5/install-sh
-c -s" INSTALL_STRIP_FLAG=-s \
`test -z '' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG=''"` install
make[1]: Entering directory `/tmp/SBo/graveman-0.3.12-5'
Making install in m4
make[2]: Entering directory `/tmp/SBo/graveman-0.3.12-5/m4'
make[3]: Entering directory `/tmp/SBo/graveman-0.3.12-5/m4'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/tmp/SBo/graveman-0.3.12-5/m4'
make[2]: Leaving directory `/tmp/SBo/graveman-0.3.12-5/m4'
Making install in src
make[2]: Entering directory `/tmp/SBo/graveman-0.3.12-5/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include
-DPACKAGE_DATA_DIR=\""/usr/share"\"
-DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/libglade-2.0
-I/usr/include/libxml2 -DDATA_DIR=\""/usr/share"\"
-DLOCALE_DIR=\""/usr/share/locale"\"
-DPIXMAPS_DIR=\""/usr/share/pixmaps"\" -Wall -MT charset.o -MD -MP -MF
".deps/charset.Tpo" -c -o charset.o charset.c; \
then mv -f ".deps/charset.Tpo" ".deps/charset.Po"; else rm -f
".deps/charset.Tpo"; exit 1; fi
charset.c:34: warning: implicit declaration of function 'N_'
charset.c:34: error: initializer element is not constant
charset.c:34: error: (near initialization for 'Gautoconvcharset[0].label')
The above two lines are repeated 43 times. The last line contains:
'Gautoconvcharset[43].label')
charset.c: In function 'charset_code_to_label':
charset.c:96: warning: implicit declaration of function '_'
charset.c:96: warning: return makes pointer from integer without a cast
charset.c: In function 'prepare_properties_charsettreeview':
charset.c:120: warning: passing argument 1 of
'gtk_tree_view_column_new_with_attributes' makes pointer from integer
without a cast
charset.c:125: warning: passing argument 1 of
'gtk_tree_view_column_new_with_attributes' makes pointer from integer
without a cast
charset.c: In function 'create_charsetselection':
charset.c:139: warning: passing argument 2 of 'gtk_file_filter_set_name'
makes pointer from integer without a cast
charset.c:145: warning: passing argument 1 of
'gtk_file_chooser_dialog_new' makes pointer from integer without a cast
charset.c: In function 'gtk_charset_add':
charset.c:204: warning: passing argument 5 of 'gtk_message_dialog_new'
makes pointer from integer without a cast
charset.c:207: warning: passing argument 1 of 'g_strdup_printf' makes
pointer from integer without a cast
charset.c: In function 'gtk_charset_remove':
charset.c:277: warning: passing argument 5 of 'gtk_message_dialog_new'
makes pointer from integer without a cast
charset.c: In function 'create_dialog_add_charset':
charset.c:315: warning: passing argument 2 of 'gtk_entry_set_text' makes
pointer from integer without a cast
charset.c: In function 'cherchecharset':
charset.c:420: warning: passing argument 5 of 'gtk_message_dialog_new'
makes pointer from integer without a cast
make[2]: *** [charset.o] Error 1
make[2]: Leaving directory `/tmp/SBo/graveman-0.3.12-5/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/graveman-0.3.12-5'
make: *** [install-strip] Error 2
I am not enough of a programmer to know if this is something I have
stupidly done wrong, or a problem with the source or a problem with the
compilation process. Any hints would be appreciated.
Regards,
Bill
More information about the Slackbuilds-users
mailing list