Re: can't compile from SVN, ubuntu intrepid



Hi Stephane,

I believe so. In fact, "/usr/share/gapi-2.0/glib-api.xml" exists on my
computer despite the error I quote below.

Turgut


Stephane Delcroix wrote:
> 
> do you have gapi installed ?
> 
> s
> 
> On Sun, 2008-12-21 at 08:50 -0800, ulugeyik wrote:
>> I still can not compile the SVN on this computer. As far as I can tell,
>> the
>> error is related to GAPI, and this file is here on my computer:
>>  Could not find file "/usr/share/gapi-2.0/glib-api.xml".
>> 
>> 
>> ulugeyik wrote:
>> > 
>> > I used to keep up with the SVN by updating once a week or so. It has
>> been
>> > a while since I neglected it. 
>> > I just attempted it and I can't succeed. It fails to "make" it. The
>> error
>> > appears to be related to "gapi". I have double checked my dependencies
>> > from f-spot web-site and various blogs. To be safe, i added 
>> > Ruben's repositories even.
>> > 
>> > In include output of "autogen.sh" and "make".
>> > 
>> > Thanks for any suggestions!
>> > 
>> > 
>> >> ./autogen.sh --prefix=${HOME}/unstable/f-spot --disable-scrollkeeper
>> > /usr/bin/gnome-doc-prepare
>> > You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4'
>> to
>> > 'aclocal.m4'.
>> > processing .
>> > Creating ./aclocal.m4 ...
>> > Running gettextize...  Ignore non-fatal messages.
>> > Copying file mkinstalldirs
>> > Copying file po/Makefile.in.in
>> > 
>> > Please add the files
>> >   codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
>> >   progtest.m4
>> > from the /aclocal directory to your autoconf macro directory
>> > or directly to your aclocal.m4 file.
>> > You will also need config.guess and config.sub, which you can get from
>> > ftp://ftp.gnu.org/pub/gnu/config/.
>> > 
>> > Making ./aclocal.m4 writable ...
>> > Running intltoolize...
>> > Running libtoolize...
>> > libtoolize: putting auxiliary files in `.'.
>> > libtoolize: copying file `./ltmain.sh'
>> > libtoolize: You should add the contents of the following files to
>> > `aclocal.m4':
>> > libtoolize:   `/usr/share/aclocal/libtool.m4'
>> > libtoolize:   `/usr/share/aclocal/ltoptions.m4'
>> > libtoolize:   `/usr/share/aclocal/ltversion.m4'
>> > libtoolize:   `/usr/share/aclocal/ltsugar.m4'
>> > libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
>> > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in
>> > and
>> > libtoolize: rerunning libtoolize, to keep the correct libtool macros
>> > in-tree.
>> > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
>> > Running aclocal-1.9  ...
>> > acinclude.m4:5: warning: underquoted definition of F_CHECK_BERKELEYDB
>> >   run info '(automake)Extending aclocal'
>> >   or see
>> > http://sources.redhat.com/automake/automake.html#Extending-aclocal
>> > Running autoheader...
>> > Running automake-1.9 --gnu  ...
>> > configure.in: installing `./install-sh'
>> > configure.in: installing `./missing'
>> > configure.in:15: installing `./config.guess'
>> > configure.in:15: installing `./config.sub'
>> > Running autoconf ...
>> > processing ./gio-sharp
>> > Running aclocal-1.9  ...
>> > Running automake-1.9 --gnu  ...
>> > Makefile.am: installing `./INSTALL'
>> > Running autoconf ...
>> > Running ./configure --enable-maintainer-mode --enable-compile-warnings
>> > --prefix=/home/matlabuser/unstable/f-spot --disable-scrollkeeper ...
>> > checking for a BSD-compatible install... /usr/bin/install -c
>> > checking whether build environment is sane... yes
>> > checking for gawk... no
>> > checking for mawk... mawk
>> > checking whether make sets $(MAKE)... yes
>> > checking how to create a ustar tar archive... gnutar
>> > checking whether to enable maintainer-specific portions of Makefiles...
>> > yes
>> > checking whether NLS is requested... yes
>> > checking for style of include used by make... GNU
>> > checking for gcc... gcc
>> > checking for C compiler default output file name... a.out
>> > checking whether the C compiler works... yes
>> > checking whether we are cross compiling... no
>> > checking for suffix of executables... 
>> > checking for suffix of object files... o
>> > checking whether we are using the GNU C compiler... yes
>> > checking whether gcc accepts -g... yes
>> > checking for gcc option to accept ISO C89... none needed
>> > checking dependency style of gcc... gcc3
>> > checking for intltool >= 0.35.0... 0.40.5 found
>> > checking for intltool-update... /usr/bin/intltool-update
>> > checking for intltool-merge... /usr/bin/intltool-merge
>> > checking for intltool-extract... /usr/bin/intltool-extract
>> > checking for xgettext... /usr/bin/xgettext
>> > checking for msgmerge... /usr/bin/msgmerge
>> > checking for msgfmt... /usr/bin/msgfmt
>> > checking for gmsgfmt... /usr/bin/msgfmt
>> > checking for perl... /usr/bin/perl
>> > checking for XML::Parser... ok
>> > checking for gcc... (cached) gcc
>> > checking whether we are using the GNU C compiler... (cached) yes
>> > checking whether gcc accepts -g... (cached) yes
>> > checking for gcc option to accept ISO C89... (cached) none needed
>> > checking dependency style of gcc... (cached) gcc3
>> > checking for library containing strerror... none required
>> > checking how to run the C preprocessor... gcc -E
>> > checking for grep that handles long lines and -e... /bin/grep
>> > checking for egrep... /bin/grep -E
>> > checking for ANSI C header files... yes
>> > checking build system type... i686-pc-linux-gnu
>> > checking host system type... i686-pc-linux-gnu
>> > checking for a sed that does not truncate output... /bin/sed
>> > checking for fgrep... /bin/grep -F
>> > checking for ld used by gcc... /usr/bin/ld
>> > checking if the linker (/usr/bin/ld) is GNU ld... yes
>> > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
>> > checking the name lister (/usr/bin/nm -B) interface... BSD nm
>> > checking whether ln -s works... yes
>> > checking the maximum length of command line arguments... 1572864
>> > checking whether the shell understands some XSI constructs... yes
>> > checking whether the shell understands "+="... yes
>> > checking for /usr/bin/ld option to reload object files... -r
>> > checking how to recognize dependent libraries... pass_all
>> > checking for ar... ar
>> > checking for strip... strip
>> > checking for ranlib... ranlib
>> > checking command to parse /usr/bin/nm -B output from gcc object... ok
>> > checking for sys/types.h... yes
>> > checking for sys/stat.h... yes
>> > checking for stdlib.h... yes
>> > checking for string.h... yes
>> > checking for memory.h... yes
>> > checking for strings.h... yes
>> > checking for inttypes.h... yes
>> > checking for stdint.h... yes
>> > checking for unistd.h... yes
>> > checking for dlfcn.h... yes
>> > checking for objdir... .libs
>> > checking if gcc supports -fno-rtti -fno-exceptions... no
>> > checking for gcc option to produce PIC... -fPIC -DPIC
>> > checking if gcc PIC flag -fPIC -DPIC works... yes
>> > checking if gcc static flag -static works... yes
>> > checking if gcc supports -c -o file.o... yes
>> > checking if gcc supports -c -o file.o... (cached) yes
>> > checking whether the gcc linker (/usr/bin/ld) supports shared
>> libraries...
>> > yes
>> > checking whether -lc should be explicitly linked in... no
>> > checking dynamic linker characteristics... GNU/Linux ld.so
>> > checking how to hardcode library paths into programs... immediate
>> > checking whether stripping libraries is possible... yes
>> > checking if libtool supports shared libraries... yes
>> > checking whether to build shared libraries... yes
>> > checking whether to build static libraries... yes
>> > ./configure: line 12556: GNOME_COMPILE_WARNINGS: command not found
>> > checking for pkg-config... /usr/bin/pkg-config
>> > checking pkg-config is at least version 0.16... yes
>> > checking for GLIB - version >= 2.0.0... yes (version 2.18.2)
>> > checking for mono... /usr/bin/mono
>> > checking for gmcs... /usr/bin/gmcs
>> > checking for mono.pc... found
>> > checking for Mono.Data.SqliteClient.dll... found
>> > checking for Mono.Posix.dll... found
>> > checking for System.Runtime.Remoting.dll... found
>> > checking for System.Web.dll... found
>> > checking for System.Web.Services.dll... found
>> > checking for Mono.Cairo.dll... found
>> > checking for F... yes
>> > checking for GIO... yes
>> > checking for GNOME_SHARP... yes
>> > checking for GCONF_SHARP... yes
>> > checking for BEAGLE... no
>> > beagle not found
>> > checking for NDESK_DBUS... yes
>> > checking for MONO_NUNIT... no
>> > checking for NUNIT22... no
>> > checking for NUNIT... no
>> > checking for gconftool-2... /usr/bin/gconftool-2
>> > Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema
>> > installation
>> > Using $(sysconfdir)/gconf/schemas as install directory for schema files
>> > checking for jpeg_start_decompress in -ljpeg... yes
>> > checking jpeglib.h usability... yes
>> > checking jpeglib.h presence... yes
>> > checking for jpeglib.h... yes
>> > checking for LCMS... yes
>> > checking for LIBGPHOTO2... yes
>> > checking for EXIF... yes
>> > checking for LIBEXIF_VERSION_CHECK... yes
>> > checking locale.h usability... yes
>> > checking locale.h presence... yes
>> > checking for locale.h... yes
>> > checking for LC_MESSAGES... yes
>> > checking libintl.h usability... yes
>> > checking libintl.h presence... yes
>> > checking for libintl.h... yes
>> > checking for ngettext in libc... yes
>> > checking for dgettext in libc... yes
>> > checking for bind_textdomain_codeset... yes
>> > checking for msgfmt... (cached) /usr/bin/msgfmt
>> > checking for dcgettext... yes
>> > checking if msgfmt accepts -c... yes
>> > checking for gmsgfmt... (cached) /usr/bin/msgfmt
>> > checking for xgettext... (cached) /usr/bin/xgettext
>> > configure: creating ./config.status
>> > config.status: creating src/f-spot
>> > config.status: creating Makefile
>> > config.status: creating dbus-sharp/Makefile
>> > config.status: creating dbus-sharp-glib/Makefile
>> > config.status: creating dpap-sharp/Makefile
>> > config.status: creating dpap-sharp/lib/Makefile
>> > config.status: creating dpap-sharp/dpap-client/Makefile
>> > config.status: creating dpap-sharp/dpap-server/Makefile
>> > config.status: creating dpap-sharp/DPAPService/Makefile
>> > config.status: creating dpap-sharp/DPAPBrowser/Makefile
>> > config.status: creating docs/Makefile
>> > config.status: creating gnome-keyring-sharp/Makefile
>> > config.status: creating icons/Makefile
>> > config.status: creating libeog/Makefile
>> > config.status: creating libeog/cursors/Makefile
>> > config.status: creating libjpegtran/Makefile
>> > config.status: creating libfspot/Makefile
>> > config.status: creating libgphoto2-sharp/Makefile
>> > config.status: creating mono-addins/Makefile
>> > config.status: creating mono-addins/Mono.Addins/Makefile
>> > config.status: creating mono-addins/Mono.Addins.Gui/Makefile
>> > config.status: creating mono-addins/Mono.Addins.Setup/Makefile
>> > config.status: creating semweb/Makefile
>> > config.status: creating tools/Makefile
>> > config.status: creating po/Makefile.in
>> > config.status: creating src/Core/Defines.cs
>> > config.status: creating src/AssemblyInfo.cs
>> > config.status: creating src/f-spot.exe.config
>> > config.status: creating src/Cms.dll.config
>> > config.status: creating src/Makefile
>> > config.status: creating GKeyFile/Makefile
>> > config.status: creating glitz-sharp/Makefile
>> > config.status: creating glitz-sharp/src/Makefile
>> > config.status: creating Tao/Makefile
>> > config.status: creating Tao/Tao.OpenGl/Makefile
>> > config.status: creating Tao/Tao.OpenGl.Glu/Makefile
>> > config.status: creating Tao/Tao.GlPostProcess/Makefile
>> > config.status: creating Tao/Tao.OpenGl.ExtensionLoader/Makefile
>> > config.status: creating extensions/Makefile
>> > config.status: creating extensions/Exporters/Makefile
>> > config.status: creating extensions/Exporters/CDExport/Makefile
>> > config.status: creating extensions/Exporters/DefaultExporters/Makefile
>> > config.status: creating extensions/Exporters/FlickrExport/Makefile
>> > config.status: creating
>> > extensions/Exporters/FlickrExport/FlickrNet/Makefile
>> > config.status: creating extensions/Exporters/GalleryExport/Makefile
>> > config.status: creating extensions/Exporters/FacebookExport/Makefile
>> > config.status: creating extensions/Exporters/FolderExport/Makefile
>> > config.status: creating
>> > extensions/Exporters/SmugMugExport/SmugMugNet/Makefile
>> > config.status: creating extensions/Exporters/SmugMugExport/Makefile
>> > config.status: creating extensions/Exporters/TabbloExport/Makefile
>> > config.status: creating
>> extensions/Exporters/TabbloExport/Tabblo/Makefile
>> > config.status: creating extensions/Exporters/PicasaWebExport/Makefile
>> > config.status: creating
>> > extensions/Exporters/PicasaWebExport/google-sharp/Makefile
>> > config.status: creating extensions/Exporters/ZipExport/Makefile
>> > config.status: creating extensions/Services/Makefile
>> > config.status: creating extensions/Services/BeagleService/Makefile
>> > config.status: creating extensions/Services/DBusService/Makefile
>> > config.status: creating extensions/Tools/Makefile
>> > config.status: creating extensions/Tools/RawPlusJpeg/Makefile
>> > config.status: creating extensions/Tools/ChangePhotoPath/Makefile
>> > config.status: creating extensions/Tools/HashJob/Makefile
>> > config.status: creating extensions/Tools/DevelopInUFraw/Makefile
>> > config.status: creating extensions/Tools/MergeDb/Makefile
>> > config.status: creating f-spot.pc
>> > config.status: creating f-spot.spec
>> > config.status: creating f-spot.desktop.in
>> > config.status: creating f-spot-view.desktop.in
>> > config.status: creating f-spot-import.desktop.in
>> > config.status: creating config.h
>> > config.status: executing depfiles commands
>> > config.status: executing libtool commands
>> > config.status: executing default-1 commands
>> > config.status: executing po/stamp-it commands
>> > # INTLTOOL_MAKEFILE
>> > === configuring in gio-sharp
>> > (/home/matlabuser/development/f-spot/trunk/gio-sharp)
>> > configure: running /bin/bash ./configure
>> > '--prefix=/home/matlabuser/unstable/f-spot'  '--enable-maintainer-mode'
>> > '--enable-compile-warnings' '--disable-scrollkeeper'
>> > --cache-file=/dev/null --srcdir=.
>> > checking for a BSD-compatible install... /usr/bin/install -c
>> > checking whether build environment is sane... yes
>> > checking for gawk... no
>> > checking for mawk... mawk
>> > checking whether make sets $(MAKE)... yes
>> > checking whether to enable maintainer-specific portions of Makefiles...
>> > yes
>> > checking for a BSD-compatible install... /usr/bin/install -c
>> > checking for pkg-config... /usr/bin/pkg-config
>> > checking pkg-config is at least version 0.9.0... yes
>> > checking for MONO_DEPENDENCY... yes
>> > checking for al... /usr/bin/al
>> > checking for mono... /usr/bin/mono
>> > checking for mcs... /usr/bin/mcs
>> > checking for GLIB_SHARP... yes
>> > checking for GAPI... yes
>> > checking for gapi2-parser... /usr/bin/gapi2-parser
>> > checking for gapi2-codegen... /usr/bin/gapi2-codegen
>> > checking for gapi2-fixup... /usr/bin/gapi2-fixup
>> > configure: creating ./config.status
>> > config.status: creating Makefile
>> > config.status: creating gio/Makefile
>> > config.status: creating gio/gio-sharp.dll.config
>> > config.status: creating gio/gio-sharp-unstable.pc
>> > config.status: creating sample/Makefile
>> > ---
>> > Configuration summary
>> > 
>> >    * Installation prefix = /home/matlabuser/unstable/f-spot
>> >    * C# compiler: /usr/bin/mcs -debug
>> > 
>> > ---
>> > Now type `make' to compile f-spot
>> > matlabuser babutsa:trunk$ make
>> > make  all-recursive
>> > make[1]: Entering directory `/home/matlabuser/development/f-spot/trunk'
>> > Making all in gio-sharp
>> > make[2]: Entering directory
>> > `/home/matlabuser/development/f-spot/trunk/gio-sharp'
>> > Making all in gio
>> > make[3]: Entering directory
>> > `/home/matlabuser/development/f-spot/trunk/gio-sharp/gio'
>> > cp ./gio-api.raw gio-api.xml
>> > chmod u+w gio-api.xml
>> > /usr/bin/gapi2-fixup --api=gio-api.xml --metadata=./metadata
>> > Warning: <attr
>> >
>> path="/api/namespace/interface[ cname='GAppInfo']/method[ name='All']/return-type"/>
>> > matched no nodes
>> > Warning: <attr
>> >
>> path="/api/namespace/interface[ cname='GAppInfo']/method[ name='All']/return-type"/>
>> > matched no nodes
>> > Warning: <attr
>> >
>> path="/api/namespace/interface[ cname='GAppInfo']/method[ name='All']/return-type"/>
>> > matched no nodes
>> > rm -f generated/* &&	\
>> > 	/usr/bin/gapi2-codegen --generate gio-api.xml
>> > -I:/usr/lib/pkgconfig/../../share/gapi-2.0/glib-api.xml  				\
>> > 	--outdir=generated --customdir=. --assembly-name=gio-sharp	\
>> > 	&& touch generated-stamp
>> > 
>> > Unhandled Exception: System.IO.FileNotFoundException: Could not find
>> file
>> > "/usr/share/gapi-2.0/glib-api.xml".
>> > File name: "/usr/share/gapi-2.0/glib-api.xml"
>> >   at System.IO.FileStream..ctor (System.String path, FileMode mode,
>> > FileAccess access, FileShare share, Int32 bufferSize, Boolean
>> anonymous,
>> > FileOptions options) [0x00000] 
>> >   at System.IO.FileStream..ctor (System.String path, FileMode mode,
>> > FileAccess access, FileShare share) [0x00000] 
>> >   at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
>> > (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
>> >   at System.IO.File.OpenRead (System.String path) [0x00000] 
>> >   at GtkSharp.Generation.Parser.Load (System.String filename) [0x00000] 
>> >   at GtkSharp.Generation.Parser.Parse (System.String filename)
>> [0x00000] 
>> >   at GtkSharp.Generation.CodeGenerator.Main (System.String[] args)
>> > [0x00000] 
>> > make[3]: *** [generated-stamp] Error 1
>> > make[3]: Leaving directory
>> > `/home/matlabuser/development/f-spot/trunk/gio-sharp/gio'
>> > make[2]: *** [all-recursive] Error 1
>> > make[2]: Leaving directory
>> > `/home/matlabuser/development/f-spot/trunk/gio-sharp'
>> > make[1]: *** [all-recursive] Error 1
>> > make[1]: Leaving directory `/home/matlabuser/development/f-spot/trunk'
>> > make: *** [all] Error 2
>> > 
>> > 
>> 
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list
> 
> 

-- 
View this message in context: http://www.nabble.com/can%27t-compile-from-SVN%2C-ubuntu-intrepid-tp20886779p21147877.html
Sent from the Gnome - F-Spot mailing list archive at Nabble.com.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]