Martin MOKREJŠ | 8 Aug 18:54 2005
Picon

PATCH: fix AFS detection in configure

This patch should make configure able to compile its own testcase.
At least on my linux it requires additionally -lresolv.
Tested by hand-editing netatalk-2.0.3/configure. The patch below is not tested,
as I do not understand the syntax but I hope you get the idea. ;)
Tested against cvs version of openafs, should be working fine with openafs-1.3.87
when it gets out (so require users to use this version or above).
http://rt.central.org/rt/Ticket/Display.html?id=20412

--- aclocal.m4.ori      2005-08-08 18:42:33.074204437 +0200
+++ aclocal.m4  2005-08-08 18:47:45.609518246 +0200
 <at>  <at>  -5037,7 +5037,7  <at>  <at> 
                                AC_CHECK_LIB(afsauthent, pioctl, netatalk_cv_afs=yes,
                                        AC_MSG_ERROR([AFS installation not found])
                                )
-                               AFS_LIBS=-lafsauthent
+                               AFS_LIBS=-lresolv -lafsrpc -lafsauthent
                                AC_DEFINE(AFS, 1, [Define if AFS should be used])
                        fi
                ]

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
didier | 9 Aug 17:07 2005
Picon

Re: PATCH: fix AFS detection in configure

Hi
Martin MOKREJŠ wrote:
> This patch should make configure able to compile its own testcase.
> At least on my linux it requires additionally -lresolv.
> Tested by hand-editing netatalk-2.0.3/configure. The patch below is not tested,
> as I do not understand the syntax but I hope you get the idea. ;)
> Tested against cvs version of openafs, should be working fine with openafs-1.3.87
> when it gets out (so require users to use this version or above).
> http://rt.central.org/rt/Ticket/Display.html?id=20412
Ok let play the finger game :) IMO it's a bug in openafs, if 
libafsauthent.so needs libresolv and libafsrpc then in 
/usr/lib/libafsauthent.la you should have:
# Libraries that this one depends upon.
dependency_libs='-lresolv -lafsrpc'

Anyway If they don't fix their setup (they doesn't seem to use libtool) 
I will change the line in macros/afs-check.m4

Note: AFAIK netatalk 2.0.3 and afs is 100% untested, do you have time 
for running the test suite on it?

Didier

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Dave Abrahams | 11 Aug 20:45 2005
Picon
Picon

Netatalk and Berkeley DB

I have the same problem as shown at 
http://community.novacaster.com/showarticle.pl?id=1744&n=8001
Suggestion: update your docs, or better yet, update your 
install scripts!

Regards,
--
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Mark Baker | 11 Aug 23:30 2005
Picon

Re: Netatalk and Berkeley DB

AFAIK it has always been required to add the path to your BDB installation
to ld.so.conf and run LD Config for netatalk to correctly detect the
libraries.

This is old news IMO. It is not up to the netatalk team to tell you how to
install BDB.

On 11/8/05 19:45, "Dave Abrahams" <dave <at> boost-consulting.com> wrote:

> I have the same problem as shown at
> http://community.novacaster.com/showarticle.pl?id=1744&n=8001
> Suggestion: update your docs, or better yet, update your
> install scripts!
> 
> Regards,
> --
> Dave Abrahams
> Boost Consulting
> http://www.boost-consulting.com
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Netatalk-devel mailing list
> Netatalk-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/netatalk-devel
(Continue reading)

Daniel E. Lautenschleger | 19 Aug 15:51 2005

Netatalk 2.0.3 Compile Error

Compiling latest netatalk with Debian Sarge using:

./configure --prefix=/usr/share/netatalk --sysconfdir=/etc/netatalk 
--enable-debian --with-pkgconfdir=/etc/netatalk

and I get this when compiling:

make[3]: Entering directory `/root/installs/netatalk-2.0.3/bin/cnid'
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../include -g -O2 
-I../../sys   -MT cnid_index.o -MD -MP -MF ".deps/cnid_index.Tpo" \
  -c -o cnid_index.o `test -f 'cnid_index.c' || echo './'`cnid_index.c; \
then mv -f ".deps/cnid_index.Tpo" ".deps/cnid_index.Po"; \
else rm -f ".deps/cnid_index.Tpo"; exit 1; \
fi
cnid_index.c: In function `dbif_count':
cnid_index.c:277: warning: passing arg 2 of pointer to function from 
incompatible pointer type
cnid_index.c:277: error: too few arguments to function
make[3]: *** [cnid_index.o] Error 1
make[3]: Leaving directory `/root/installs/netatalk-2.0.3/bin/cnid'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/installs/netatalk-2.0.3/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/installs/netatalk-2.0.3'
make: *** [all] Error 2

-Dan

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
(Continue reading)

Dick Visser | 19 Aug 16:02 2005
Picon

Re: Netatalk 2.0.3 Compile Error

Daniel E. Lautenschleger wrote:

> Compiling latest netatalk with Debian Sarge using:
>
> ./configure --prefix=/usr/share/netatalk --sysconfdir=/etc/netatalk 
> --enable-debian --with-pkgconfdir=/etc/netatalk
>
> and I get this when compiling:
>
> make[3]: Entering directory `/root/installs/netatalk-2.0.3/bin/cnid'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../include -g -O2 
> -I../../sys   -MT cnid_index.o -MD -MP -MF ".deps/cnid_index.Tpo" \
>  -c -o cnid_index.o `test -f 'cnid_index.c' || echo './'`cnid_index.c; \
> then mv -f ".deps/cnid_index.Tpo" ".deps/cnid_index.Po"; \
> else rm -f ".deps/cnid_index.Tpo"; exit 1; \
> fi
> cnid_index.c: In function `dbif_count':
> cnid_index.c:277: warning: passing arg 2 of pointer to function from 
> incompatible pointer type
> cnid_index.c:277: error: too few arguments to function
> make[3]: *** [cnid_index.o] Error 1
> make[3]: Leaving directory `/root/installs/netatalk-2.0.3/bin/cnid'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/installs/netatalk-2.0.3/bin'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/installs/netatalk-2.0.3'
> make: *** [all] Error 2

You are probably using db4.3, and netatalk does not (yet) work with that.
SOlution: downgrade to db4.2:
(Continue reading)

Aaron Rosenblum | 24 Aug 03:47 2005
Picon

Build errors on Mac OS X

Hi,

I am trying to build netatalk-2.0.3 in Mac OS X Server 10.4.2.  I am  
using XCode 2.1, which has gcc4.0.  I have built and installed bdb  
4.2.52 from source.  However, when I build netatalk, I get the  
following errors (listed below).  Can anyone help me get this  
running? I understand this is for afpd (TCP) only, which is what I want.

thanks

Aaron

ranlib .libs/libatalk.a
rm -fr .libs/libatalk.lax
creating libatalk.la
(cd .libs && rm -f libatalk.la && ln -s ../libatalk.la libatalk.la)
Making all in bin
Making all in adv1tov2
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../sys     
-I../../include -g -O2 -I../../sys -MT adv1tov2.o -MD -MP -MF ".deps/ 
adv1tov2.Tpo" \
   -c -o adv1tov2.o `test -f 'adv1tov2.c' || echo './'`adv1tov2.c; \
then mv -f ".deps/adv1tov2.Tpo" ".deps/adv1tov2.Po"; \
else rm -f ".deps/adv1tov2.Tpo"; exit 1; \
fi
In file included from ../../sys/netatalk/at.h:28,
                  from ../../include/atalk/util.h:13,
                  from adv1tov2.c:28:
/usr/include/netat/appletalk.h:49: error: parse error before 'ua_short'
/usr/include/netat/appletalk.h:50: error: parse error before 'ua_long'
(Continue reading)

Thomas Kaiser | 24 Aug 11:47 2005
Picon

Re: Build errors on Mac OS X

Aaron Rosenblum wrote:

> I am trying to build netatalk-2.0.3 in Mac OS X Server 10.4.2

According to

    <http://netatalk.sf.net/wiki/index.php/WhatPlatformsDoesNetatalkRunsOn>

there exists no support for AppleTalk on certain platforms. So you've to use
"--disable-ddp" at configure time.

Regards,

Thomas

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Aaron Rosenblum | 24 Aug 16:03 2005
Picon

Re: Build errors on Mac OS X

Hey,

Thanks for the help.  I tried to build with:

./configure --with-bdb=/usr/local/BerkeleyDB.4.2/ --disable-ddp

and the summary at the end of the configure shows DDP disabled.   
However, upon a a "make", it still seems to be getting those same  
errors.  Any more suggestions?

thanks!

Aaron
On Aug 24, 2005, at 5:47 AM, Thomas Kaiser wrote:

> Aaron Rosenblum wrote:
>
>
>> I am trying to build netatalk-2.0.3 in Mac OS X Server 10.4.2
>>
>
> According to
>
>     <http://netatalk.sf.net/wiki/index.php/ 
> WhatPlatformsDoesNetatalkRunsOn>
>
> there exists no support for AppleTalk on certain platforms. So  
> you've to use
> "--disable-ddp" at configure time.
>
(Continue reading)

Rory Campbell-Lange | 25 Aug 01:22 2005
Picon

Server dropping netatalk 2.0.3; OSX 10.3 clients

Sometimes when Retrospect 6 is scanning or backup up our main volume
(about a Terabyte in size), some OSX 10.3 clients lose their server
connection.

I've tried changing to a dbd (with transactional support) cnid backend
in case this was some sort of wierd database corruption issue, but this
makes moving through the volume very slow, so I've changed back to bdb.

The cnid database is around 65MB in size.

The server is a 4GB RAM, dual Xeon, RAID 5 SATA machine, and the network
tests fine. The server rarely has more than 200Mb/s traffic on its
gigabit interface; we have less than 100 concurrent users.

Advice gratefully received :)
Rory

--

-- 
Rory Campbell-Lange 
<rory <at> campbell-lange.net>
<www.campbell-lange.net>

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

Gmane