Tracker item #3452233, was opened at 2011-12-06 02:04
Message generated for change (Comment added) made by mvanzin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3452233&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: libraries
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Igor (xrevolver)
Assigned to: Nobody/Anonymous (nobody)
Summary: failed co compile on RHEL 5 or CentOS 5

Initial Comment:
[root@localhost open-vm-tools-8.8.1-528969]#./configure --without-x 
--without-dnet --without-icu
[root@localhost open-vm-tools-8.8.1-528969]#make
....
...
libtool: compile:  gcc -DPACKAGE_NAME=\"open-vm-tools\" 
-DPACKAGE_TARNAME=\"open-vm-tools\" -DPACKAGE_VERSION=\"8.8.1\" 
"-DPACKAGE_STRING=\"open-vm-tools 8.8.1\"" 
-DPACKAGE_BUGREPORT=\"open-vm-tools-devel@lists.sourceforge.net\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"open-vm-tools\" -DVERSION=\"8.8.1\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DX_DISPLAY_MISSING=1 -DHAVE_ECVT=1 -DHAVE_FCVT=1 -DNO_DNET=1 -DHAVE_CRYPT_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_WCHAR_H=1 
-DHAVE_SYS_IO_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_SYSINFO_H=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_USER_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_UNWIND_H=1 
-DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STRUCT_STAT_ST_RDEV=1 
-DTIME_WITH_SYS_TIME=1 -DNO_XSM=1 -DNO_XCOMPOSITE=1 -DNO_MULTIMON=1 -I. 
-DVMTOOLS_USE_GLIB -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
-fvisibility=hidden -DGCC_EXPLICIT_EXPORT 
-I/root/open-vm-tools-8.8.1-528969/lib/include 
-I/root/open-vm-tools-8.8.1-528969/lib/include -DUSING_AUTOCONF=1 
-DOPEN_VM_TOOLS -DVMX86_TOOLS -DNO_CORE_ICU -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -g -O2 
-Wall -Werror -Wno-pointer-sign -Wno-unused-value -fno-strict-aliasing 
-Wno-unknown-pragmas -Wno-uninitialized -MT libvix_la-vixTools.lo -MD -MP -MF 
.deps/libvix_la-vixTools.Tpo -c vixTools.c  -fPIC -DPIC -o 
.libs/libvix_la-vixTools.o
vixTools.c: In function ‘VixToolsListFiles’:
vixTools.c:5323: error: ‘GRegex’ undeclared (first use in this function)
vixTools.c:5323: error: (Each undeclared identifier is reported only once
vixTools.c:5323: error: for each function it appears in.)
vixTools.c:5323: error: ‘regex’ undeclared (first use in this function)
cc1: warnings being treated as errors
vixTools.c:5376: warning: implicit declaration of function ‘g_regex_new’
vixTools.c:5445: warning: implicit declaration of function ‘g_regex_match’
make[3]: *** [libvix_la-vixTools.lo] Error 1
make[3]: Leaving directory 
`/root/open-vm-tools-8.8.1-528969/services/plugins/vix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/open-vm-tools-8.8.1-528969/services/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/open-vm-tools-8.8.1-528969/services'
make: *** [all-recursive] Error 1
[root@localhost open-vm-tools-8.8.1-528969]#


Looks like GRegex introduced in glib2 >= 2.14 while RHEL5 and CentOS 5  use 
glib2 2.12 

----------------------------------------------------------------------

>Comment By: Marcelo Vanzin (mvanzin)
Date: 2011-12-12 13:46

Message:
If you clone the git repository, you can cherry pick commit 5b313bd, which
has a workaround for this. I'll keep this open to see if we remember to
cherry pick that change in the next update.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=3452233&group_id=204462

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to