I tired to run autogen.sh:

(mc2-p006)/diskeb2/sysproj/2008/samba-3.0.30/source/ ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h' created for Samba("3.0.30")
./autogen.sh: running autoheader -I. -Ilib/replace
configure.in:341: error: AC_REQUIRE: circular dependency of AC_AIX
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:451: AC_AIX is expanded from...
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.in:341: the top level
autom4te: /usr/local/bin/m4 failed with exit status: 1
autoheader: '/usr/local/bin/autom4te' failed with exit status: 1

Any suggestions?

1 jun 2008 kl. 14.51 skrev Bengt Nilsson:

Dear friends,

I failed to buld samba 3.0.30 for tru64unix 4.0F.

I am curently locked to this os version due to other production software. We currently run Samba 2.2.8a but we were requested to upgrade by our network group.

I downloaded 3.3.30 and did

$ cd source
$ ./configure

no warnings or errors as far as I could see, except

checking for replacing readdir using getdirentries()... failure: readdir [
Failed for unlink - 1 = Not owner
]
failure: readdir [
Failed for unlink - 1 = Not owner
]

(what does this mean?)


$ make

Using FLAGS = -O -D_SAMBA_BUILD_=3 -I/usr/users/eb0/bnilsson/ diskeb2/sysproj/2008/samba-3.0.30/source/popt -I/usr/users/eb0/ bnilsson/diskeb2/sysproj/2008/samba-3.0.30/source/iniparser/src - Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/ include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/users/eb0/ bnilsson/diskeb2/sysproj/2008/samba-3.0.30/source/lib - D_SAMBA_BUILD_=3
     PICFLAG    = -fPIC
     LIBS       = -lproplist -lsecurity -lresolv -lresolv
     LDFLAGS    = -pie
     DYNEXP     =
     LDSHFLAGS  = -shared
     SHLIBEXT   = so
     SONAMEFLAG = -Wl,-soname,
Generating smbd/build_options.c
Building include/proto.h
creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/include/proto.h
Building include/build_env.h
creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/nsswitch/winbindd_proto.h creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/web/swat_proto.h creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/client/client_proto.h creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/utils/net_proto.h creating /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/samba-3.0.30/ source/utils/ntlm_auth_proto.h
Compiling dynconfig.c
In file included from include/includes.h:789,
from /usr/users/eb0/bnilsson/diskeb2/sysproj/2008/ samba-3.0.30/source/dynconfig.c:21:
include/proto.h:1440: error: conflicting types for 'tdb_fetch_int32'
include/util_tdb.h:54: error: previous declaration of 'tdb_fetch_int32' was here
include/proto.h:1440: error: conflicting types for 'tdb_fetch_int32'
include/util_tdb.h:54: error: previous declaration of 'tdb_fetch_int32' was here
include/proto.h:1442: error: conflicting types for 'tdb_store_int32'
include/util_tdb.h:56: error: previous declaration of 'tdb_store_int32' was here
include/proto.h:1442: error: conflicting types for 'tdb_store_int32'
include/util_tdb.h:56: error: previous declaration of 'tdb_store_int32' was here
include/proto.h:1444: error: conflicting types for 'tdb_fetch_uint32'
include/util_tdb.h:57: error: previous declaration of 'tdb_fetch_uint32' was here
include/proto.h:1444: error: conflicting types for 'tdb_fetch_uint32'
include/util_tdb.h:57: error: previous declaration of 'tdb_fetch_uint32' was here
include/proto.h:1446: error: conflicting types for 'tdb_store_uint32'
include/util_tdb.h:55: error: previous declaration of 'tdb_store_uint32' was here
include/proto.h:1446: error: conflicting types for 'tdb_store_uint32'
include/util_tdb.h:55: error: previous declaration of 'tdb_store_uint32' was here include/proto.h:1450: error: conflicting types for 'tdb_change_int32_atomic' include/util_tdb.h:46: error: previous declaration of 'tdb_change_int32_atomic' was here include/proto.h:1450: error: conflicting types for 'tdb_change_int32_atomic' include/util_tdb.h:46: error: previous declaration of 'tdb_change_int32_atomic' was here
The following command failed:
gcc -O -D_SAMBA_BUILD_=3 -I/usr/users/eb0/bnilsson/diskeb2/sysproj/ 2008/samba-3.0.30/source/popt -I/usr/users/eb0/bnilsson/diskeb2/ sysproj/2008/samba-3.0.30/source/iniparser/src -Iinclude -I./ include -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./ libaddns -I./librpc -DHAVE_CONFIG_H -I/usr/users/eb0/bnilsson/ diskeb2/sysproj/2008/samba-3.0.30/source/lib -D_SAMBA_BUILD_=3 - DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DSBINDIR="/usr/local/ samba/sbin" -DBINDIR="/usr/local/samba/bin" -DLMHOSTSFILE="/usr/ local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" - DLOCKDIR="/usr/local/samba/var/locks" -DPIDDIR="/usr/local/samba/var/ locks" -DLIBDIR="/usr/local/samba/lib" -DLOGFILEBASE="/usr/local/ samba/var" -DSHLIBEXT="so" -DCONFIGDIR="/usr/local/samba/lib" - DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" - DPRIVATE_DIR="/usr/local/samba/private" -fPIC -c /usr/users/eb0/ bnilsson/diskeb2/sysproj/2008/samba-3.0.30/source/dynconfig.c -o dynconfig.o
make: *** [dynconfig.o] Error 1

So I am stuck for the moment.
What can be done?

BN



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to