After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128276 - libgnomevfs/gnome-vfs-enum-types.h is NOT installed
libgnomevfs/gnome-vfs-enum-types.h is NOT installed
Status: RESOLVED DUPLICATE of bug 128253
Product: gnome-vfs
Classification: Deprecated
Component: Build
cvs (head)
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2003-12-01 08:07 UTC by Chee Bin HOH
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
patch file for libgnomevfs/Makefile.am (476 bytes, patch)
2003-12-01 08:11 UTC, Chee Bin HOH
none Details | Review

Description Chee Bin HOH 2003-12-01 08:07:59 UTC
Problem
*******
The header file libgnomevfs/gnome-vfs-enum-types.h generated by
libgnomevfs/Makefile does not get installed in the
$prefix/include/gnome-vfs-2.0/libgnomevfs directory

It causes problem for all other package that include gnome-vfs.h as this
header file will include gnome-vfs-enum-types.h in turn.


Cause
*****
libgnomevfs/Makefile.am does NOT assign the `gnome-vfs-enum-types.h` to the
variable `libgnomevfsinclude_HEADERS'.


Solution
********
The problem can be solved by including the variable value
`$(libgnomevfs_built_headers)` to libgnomevfsinclude_HEADERS as following:

libgnomevfsinclude_HEADERS =                    \
        gnome-vfs-application-registry.h        \
        gnome-vfs-async-ops.h  
        ...
        ..
        .
        gnome-vfs.h                             \
        $(libgnomevfs_built_headers)            \
        $(NULL)


Patch
******
Index: libgnomevfs/Makefile.am
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/Makefile.am,v
retrieving revision 1.118
diff -u -r1.118 Makefile.am
--- libgnomevfs/Makefile.am     29 Nov 2003 16:06:55 -0000      1.118
+++ libgnomevfs/Makefile.am     1 Dec 2003 07:42:42 -0000
@@ -200,6 +200,7 @@
        gnome-vfs-volume.h                      \
        gnome-vfs-xfer.h                        \
        gnome-vfs.h                             \
+       $(libgnomevfs_built_headers)            \
        $(NULL)
                                                                          
                                                  
 CORBA_SOURCE = \
Comment 1 Chee Bin HOH 2003-12-01 08:11:58 UTC
Created attachment 21970 [details] [review]
patch file for libgnomevfs/Makefile.am
Comment 2 Christophe Fergeau 2003-12-01 08:44:20 UTC
Thanks for the patch, someone beat you to it ;)

*** This bug has been marked as a duplicate of 128253 ***