Mutual Mac


Trying to compile from source

As title suggests, I'm trying to compile from source on a Fedora 19 system. I think I have all dependencies solved by now, feel free to ask about specific packages. Currently I'm getting the following:
[root@localhost code]# mkdir $RYHOME/build && cd $RYHOME/build
[root@localhost build]# cmake -DWITH_NET_TESTS=OFF ..
-- The CXX compiler identification is GNU 4.7.2
-- The C compiler identification is GNU 4.7.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for include file execinfo.h
-- Looking for include file execinfo.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file dl.h
-- Looking for include file dl.h - not found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file malloc.h
-- Looking for include file malloc.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include files sys/param.h, sys/mount.h
-- Looking for include files sys/param.h, sys/mount.h - found
-- Looking for include file sys/statvfs.h
-- Looking for include file sys/statvfs.h - found
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- DEBUG size_t is 8
-- Check size of off_t
-- Check size of off_t - done
-- DEBUG off_t is 8
-- Looking for backtrace
-- Looking for backtrace - found
-- Looking for getsockname
-- Looking for getsockname - found
-- Looking for inet_ntoa
-- Looking for inet_ntoa - found
-- Looking for inet_ntop
-- Looking for inet_ntop - found
-- Looking for inet_pton
-- Looking for inet_pton - found
-- Looking for regcomp
-- Looking for regcomp - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strlcat
-- Looking for strlcat - not found
-- Looking for strptime
-- Looking for strptime - found
-- Looking for strtok_r
-- Looking for strtok_r - found
-- Looking for strtoull
-- Looking for strtoull - found
-- Looking for statvfs
-- Looking for statvfs - found
-- Looking for stat64
-- Looking for stat64 - found
-- Found Mercurial: /usr/bin/hg
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindLibXml2.cmake:62 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:110 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

Target architecture is x64 (i3 processor), any help getting this compiled and if possible optimized is appreciated.

edit:

Since compiler complains about libxml2 ..
[root@localhost build]# yum install libxml2
Loaded plugins: langpacks, presto, refresh-packagekit
Package libxml2-2.9.1-1.fc18.1.x86_64 already installed and latest version
Nothing to do

---

Show topic
Last visit Friday, 27 December 01:21:33 UTC
P_:G_:PLAYER

powered by ryzom-api