Hi,
yes, the patch fix the problem.
on some x86 systems the make failed too
if i have openssl and openssl-devel installed
the ./configure --enable-client-only shows:
readline support: no
TCP Wrappers support: no
TLS support: yes
Encryption support: yes
ZLIB support: yes
and the make runs just fine.
and on systems without the openssl-devel package,
configure shows:
readline support: no
TCP Wrappers support: no
TLS support: no
Encryption support: no
ZLIB support: yes
but the make failed with:
make[1]: Leaving directory `/home/thomas/bacula-3.0.1/src/findlib'
==>Entering directory /home/thomas/bacula-3.0.1/src/filed
make[1]: Entering directory `/home/thomas/bacula-3.0.1/src/filed'
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling fd_plugins.c
Compiling accurate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Compiling xattr.c
Linking bacula-fd ...
/home/thomas/bacula-3.0.1/libtool --silent --tag=CXX --mode=link
/usr/lib/ccache/g++ -L../lib -L../findlib -o bacula-fd filed.o authenticate.o
acl.o backup.o estimate.o fd_plugins.o accurate.o filed_conf.o heartbeat.o
job.o pythonfd.o restore.o status.o verify.o verify_vol.o xattr.o \
-lacl -lz -lbacfind -lbacpy -lbaccfg -lbac -lm
-lpthread -ldl \
-lssl -lcrypto
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[1]: *** [bacula-fd] Fehler 1
make[1]: Leaving directory `/home/thomas/bacula-3.0.1/src/filed'
====== Error in /home/thomas/bacula-3.0.1/src/filed ======
i have to define --with-openssl=no on the commandline to build on these
machines.
Kern Sibbald schrieb:
> Hello,
>
> I hope the attached patch will solve your problem. The instructions for
> applying it are at the top of the file.
>
> Best regards,
>
> Kern
>
> On Thursday 07 May 2009 12:38:34 Thomas wrote:
>> ok, it's a very old solaris,
>> but maybe somebody can fix this
>>
>>
>> uname -a
>> SunOS 5.9 Generic_112233-08 sun4u sparc SUNW,UltraSPARC-IIi-cEngine
>>
>> gcc --version
>> gcc (GCC) 3.4.1 (OpenPKG-2.1)
>>
>>
>>
>> ./configure --enable-client-only
>> make
>>
>>
>> ==>Entering directory /root/bacula-3.0.1/src/filed
>> Compiling filed.c
>> Compiling authenticate.c
>> Compiling acl.c
>> acl.c:1145: error: expected unqualified-id before '{' token
>> acl.c:1145: error: expected `,' or `;' before '{' token
>> acl.c:98: warning: 'bool send_acl_stream(JCR*, int)' defined but not used
>> acl.c:1124: warning: 'bool acl_is_trivial(int, aclent_t*)' defined but not
>> used acl.c:1144: warning: 'bool solaris_build_acl_streams(JCR*, FF_PKT*)'
>> declared `static' but never defined *** Error code 1
>> make: Fatal error: Command failed for target `acl.o'
>> Current working directory /root/bacula-3.0.1/src/filed
>>
>>
>> ====== Error in /root/bacula-3.0.1/src/filed ======
>>
>>
>> configure output can be found at http://fpaste.org/paste/11235
>> and make output http://fpaste.org/paste/11234
>
>
--
[:O]###[O:]
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel