Thu 27 Sep 2012 07:05:01 PM UTC, comment #13:
Closing per origintor's request.
|
Tue 25 Sep 2012 08:51:24 AM UTC, comment #12:
Success build if I use source from http://pspp.benpfaff.org/~blp/pspp-master/ (before I compiled from GIT version) and add
perl-ExtUtils-MakeMaker to BuildRequires. So you can close bug.
|
Fri 21 Sep 2012 09:02:33 AM UTC, comment #11:
autoconf-2.63-5.1.el6
|
Fri 21 Sep 2012 09:00:46 AM UTC, comment #10:
I suspect you are using an older version of autoconf
Version 2.6x is the recommended version. Which are you using?
|
Fri 21 Sep 2012 08:33:42 AM UTC, comment #9:
Becides, if you want, you can create Account in build.opensuse.org, go to
https://build.opensuse.org/package/show?package=PSPP&project=home%3Aembar-%3Abranches%3Ahome%3Aembar-#
or
https://build.opensuse.org/package/show?package=PSPP&project=home%3Aembar-
and press "Branch package" to clone it youself (It success to build for openSUSE, Fedora, Mandriva).
|
Fri 21 Sep 2012 08:25:33 AM UTC, comment #8:
With cat command I can see content of file,
so I attach fragment of buildlog with content of config.h.
(file #26606)
|
Fri 21 Sep 2012 07:44:49 AM UTC, comment #7:
PACKAGE_URL is defined in config.h and that is included right at the top of help-menu.c So this error should not happen.
Can you check that config.h has been correctly created?
|
Thu 20 Sep 2012 09:28:10 PM UTC, comment #6:
Thanks, now I see error (also only for CentOS):
[ 471s] src/ui/gui/help-menu.c: In function 'about_new':
[ 471s] src/ui/gui/help-menu.c:51: error: 'PACKAGE_URL' undeclared (first use in this function)
[ 471s] src/ui/gui/help-menu.c:51: error: (Each undeclared identifier is reported only once
[ 471s] src/ui/gui/help-menu.c:51: error: for each function it appears in.)
[ 471s] src/ui/gui/help-menu.c: In function 'online_help':
[ 471s] src/ui/gui/help-menu.c:109: error: 'PACKAGE_URL' undeclared (first use in this function)
[ 471s] src/ui/gui/help-menu.c:109: error: expected ')' before string constant
[ 471s] make[2]: *** [src/ui/gui/src_ui_gui_psppire-help-menu.o] Error 1
[ 471s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/pspp-1348139695'
[ 471s] make[1]: *** [all-recursive] Error 1
[ 471s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/pspp-1348139695'
[ 471s] make: *** [all] Error 2
[ 471s] error: Bad exit status from /var/tmp/rpm-tmp.jKTZhW (%build)
[
(file #26605)
|
Thu 20 Sep 2012 11:18:44 AM UTC, comment #5:
I pushed a fix for this.
Can you try it and give us feedback?
|
Wed 19 Sep 2012 05:01:51 PM UTC, comment #4:
Oh, comment #2 is wrong, because I searched gtk.h in openSUSE system, but build is for CentOS. I can not extract file from
openSSUE Build Service, because build failed.
GTk version is 2.18,
as you see in buildlog.txt line 132-133
[ 60s] [84/247] preinstalled gtk2-2.18.9-6.el6.centos
[ 60s] [85/247] preinstalled gtk2-devel-2.18.9-6.el6.centos
[ 60s] [86/247] installing gtksourceview2-2.8.2-4.el6
|
Wed 19 Sep 2012 05:54:17 AM UTC, comment #3:
In your buildlog.txt which you posted I see this:
[ 207s] rm -f src/ui/gui/include/gtk/gtk.h-t src/ui/gui/include/gtk/gtk.h && \
[ 207s] { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
[ 207s] sed -e 's|@''INCLUDE_NEXT''@|include_next|g' \
[ 207s] -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
[ 207s] -e 's|@''PRAGMA_COLUMNS''@||g' \
[ 207s] -e 's|@''NEXT_GTK_GTK_H''@|<gtk/gtk.h>|g' \
[ 207s] < ./src/ui/gui/include/gtk/gtk.in.h; \
[ 207s] } > src/ui/gui/include/gtk/gtk.h-t && \
[ 207s] mv src/ui/gui/include/gtk/gtk.h-t src/ui/gui/include/gtk/gtk.h
so the gtk.h file is certainly getting generated Is something killing it?
Also can you say which version of gtk+ you have installed.
|
Tue 18 Sep 2012 04:30:23 PM UTC, comment #2:
I compiled in OSB (openSUSE Build Service):
https://build.opensuse.org/package/show?package=PSPP&project=home%3Aembar-
I installed pspp-debugsource package, but there is no such gtk.h.
But I found /usr/include/gtk-2.0/gtk/gtk.h in gtk2-devel package
(file #26581)
|
Tue 18 Sep 2012 09:39:40 AM UTC, comment #1:
Can you send us the contents of the file src/ui/gui/include/gtk/gtk.h in your build dir?
These functions should have been defined there. For some reason it seems that you build doesn't see them.
|
Sun 16 Sep 2012 08:58:04 AM UTC, original submission:
Compiling pspp-0.7.9-gacc57a for CentOS-6 in openSUSE Build Service
has error:
[ 553s] src/ui/gui/src_ui_gui_psppire-pspp-sheet-view.o: In function `pspp_sheet_view_map':
[ 553s] /home/abuild/rpmbuild/BUILD/pspp-0.7.9-gacc57a/src/ui/gui/pspp-sheet-view.c:1399: undefined reference to `gtk_widget_set_mapped'
[ 553s] src/ui/gui/src_ui_gui_psppire-pspp-sheet-view.o: In function `pspp_sheet_view_realize':
[ 553s] /home/abuild/rpmbuild/BUILD/pspp-0.7.9-gacc57a/src/ui/gui/pspp-sheet-view.c:1428: undefined reference to `gtk_widget_set_realized'
[ 553s] collect2: ld returned 1 exit status
[ 553s] make[2]: *** [src/ui/gui/psppire] Error 1
|