Wed 14 May 2008 10:47:48 AM UTC, original submission:
Hi there,
The error I get compiling glusterfs-1.3.8 under FreeBSD 7.0 is:
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_BSD_HOST_OS -Wall -I../../../../libglusterfs/src -shared -nostartfiles -g -O2 -MT posix.o -MD -MP -MF ".deps/posix.Tpo" -c -o posix.o posix.c; then mv -f ".deps/posix.Tpo" ".deps/posix.Po"; else rm -f ".deps/posix.Tpo"; exit 1; fi
posix.c: In function 'posix_readdir':
posix.c:2179: error: 'struct dirent' has no member named 'd_off'
(To get rid off the missing alloca.h messages, I symlinked stdlib.h to alloca.h by the way; commenting it out instead produces the same error message)
I THINK (I am not a C developer) that some #ifdef settings for FreeBSD should be fixed. Moreover it would probably be a good idea to remove the linux dependencies on BSD. :-)
My installed packages:
argp-standalone-1.3 Standalone version of arguments parsing functions from GLIB
autoconf-2.13.000227_6 Automatically configure source code on many Un*x platforms
autoconf-2.61_2 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
automake-1.4.6_4 GNU Standards-compliant Makefile generator (1.4)
automake-wrapper-20071109 Wrapper script for GNU automake
bash-3.2.39 The GNU Project's Bourne Again SHell
bison-2.3_3,1 A parser generator from FSF, (mostly) compatible with Yacc
db41-4.1.25_4 The Berkeley DB package, revision 4.1
diffutils-2.8.1_1 The GNU diff utilities
fusefs-libs-2.7.2_1 FUSE allows filesystem implementation in userspace
gettext-0.16.1_3 GNU gettext package
gmake-3.81_2 GNU version of 'make' utility
gtar-1.20 GNU version of the traditional tape archiver
help2man-1.36.4_1 Automatically generating simple manual pages from program o
iconv-2.0_3 Charset conversion library and utilities
ispell-3.2.06_18 An interactive spelling checker for multiple languages
libelf-0.8.9 A public ELF file access library similar to libelf(3) in So
libexecinfo-1.1_1 A library for inspecting program's backtrace
libiconv-1.11_1 A character set conversion library
liblogging-0.6.0 Easy to use system logging library
libpthread-stubs-0.1 This library provides weak aliases for pthread functions
libtool-1.5.24 Generic shared library support script
linux-kmod-compat-20080408 Adaptation layer to build linux drivers on FreeBSD
linux-procps-3.2.5 Linux psproc binaries
linux_base-fc-4_13 Base set of packages needed in Linux mode (for i386/amd64)
linuxthreads-2.2.3_23 POSIX pthreads implementation using rfork to generate kerne
lzmautils-4.32.5 LZMA compression and decompression tools
m4-1.4.9,1 GNU m4
p5-gettext-1.05_1 Message handling functions
patch-2.5.4 GNU patch utility
perl-5.8.8_1 Practical Extraction and Report Language
pico-4.64 PIne's message COmposition editor
pkg-config-0.23_1 A utility to retrieve information about installed libraries
popt-1.7_4 A getopt(3) like library with a number of enhancements, fro
portaudit-0.5.12 Checks installed ports against a list of security vulnerabi
portupgrade-2.3.1,2 FreeBSD ports/packages administration and management tool s
rpm-3.0.6_13 The Red Hat Package Manager
ruby-1.8.6.111_1,1 An object-oriented interpreted scripting language
ruby18-bdb-0.6.2 Ruby interface to Sleepycat's Berkeley DB revision 2 or lat
tla-1.3.5 The original arch source control management CLI written in
unzip-5.52_5 List, test and extract compressed files in a ZIP archive
Loaded kernel modules:
Id Refs Address Size Name
1 10 0xc0400000 91c2d4 kernel
2 1 0xc0d1d000 b86fc zfs.ko
3 1 0xc0dd6000 6a32c acpi.ko
4 1 0xc7a18000 3000 pflog.ko
5 1 0xc7a27000 35000 pf.ko
6 1 0xdaad0000 22000 linux.ko
What am I missing?
The wiki is not very telling. A simple ./configure && make && make install does not work out for me.
|