Hi,

> On 18 Jan 2017, at 6:01 PM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
> (plain text, please)
> 
> (we specifically ask people _not_ to use multiple mailing lists)
> 
>> On Jan 15, 2017, at 23:52, Jean Eric Ducret <jean-eric.duc...@u-bordeaux.fr> 
>> wrote:
>> 
>> Dear Fink users,
>> It’s been now several days that I’m trying to update all my packages with 
>> FINK after a "sudo fink selfupdate" command as usual.
>> The fink update-all command generates, as you can see in the screen copy 
>> below the update of root4 & root5 from CERN software. Anyway, this update 
>> crashes always at the same time of the compiling/installing procedure on the 
>> apparent diagnostic that "openssl/ssl.h" is not found whereas it exists 
>> properly in the /sw/include/openssl directory.
>> If anyone has an idea of how to improve this situation… 
>> Have a nice day,
>> Jean-Éric
>> 
>> sapmcb46:~ ducret$ fink update-all
>> 
> 
> <snip> we don’t normally need anything which isn’t part of the build output 
> for the package in question, like the installation output from other packages.
> 
>> Setting runtime build-lock...
>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-xrootd4-4.5.0-1 
>> /sw/src/fink.build
>> dpkg-deb : construction du paquet « fink-buildlock-xrootd4-4.5.0-1 » dans « 
>> /sw/src/fink.build/fink-buildlock-xrootd4-4.5.0-1_2017.01.16-08.35.33_darwin-x86_64.deb
>>  ».
>> Installing build-lock package...
>> /sw/bin/dpkg-lockwait -i 
>> /sw/src/fink.build/fink-buildlock-xrootd4-4.5.0-1_2017.01.16-08.35.33_darwin-x86_64.deb
>> Selecting previously deselected package fink-buildlock-xrootd4-4.5.0-1.
>> (Reading database ... 176737 files and directories currently installed.)
>> Unpacking fink-buildlock-xrootd4-4.5.0-1 (from 
>> .../fink-buildlock-xrootd4-4.5.0-1_2017.01.16-08.35.33_darwin-x86_64.deb) ...
>> /sw/share/dbus/launchd/org.finkproject.dbus-session.plist: Path had bad 
>> ownership/permissions
>> Setting up fink-buildlock-xrootd4-4.5.0-1 (2017.01.16-08.35.33) ...
>> /sw/share/dbus/launchd/org.finkproject.dbus-session.plist: Path had bad 
>> ownership/permissions
>> 
> 
> <snip>
> 
>> -- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib  
> 
> Here is the problem.  The build is finding Apple’s OpenSSL instead of 
> Fink's—one of the other developers mentioned happened for him on 10.11.  This 
> is an older version of OpenSSL (0.9.8) and isn’t completely compatible with 
> what the package is looking for, which is 1.0.x.  

The interesting part is that for me it reports the same OpenSSL lib here, but 
still builds correctly against Fink's OpenSSL later.

>> -- Looking for TLSv1_2_method
>> -- Looking for TLSv1_2_method - not found
>> -- Looking for TLSv1_1_method
>> -- Looking for TLSv1_1_method - not found
>> -- Looking for TLSv1_method
>> -- Looking for TLSv1_method - found
>> -- Found KERBEROS5: /usr/lib/libkrb5.dylib;/usr/lib/libcom_err.dylib  
>> —
> 
> <snip>
> 
>> [ 40%] Building CXX object 
>> src/CMakeFiles/XrdHttp-4.dir/XrdHttp/XrdHttpProtocol.cc.o
>> In file included from 
>> /sw/src/fink.build/xrootd4-4.5.0-1/xrootd-4.5.0/src/XrdHttp/XrdHttpProtocol.cc:36:
>> /sw/src/fink.build/xrootd4-4.5.0-1/xrootd-4.5.0/src/XrdHttp/XrdHttpProtocol.hh:51:10:
>>  fatal error: 'openssl/ssl.h' file not
>>      found
>> #include <openssl/ssl.h>
>>         ^
>> 1 error generated.
>> make[2]: *** [src/CMakeFiles/XrdHttp-4.dir/build.make:63: 
>> src/CMakeFiles/XrdHttp-4.dir/XrdHttp/XrdHttpProtocol.cc.o] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:229: src/CMakeFiles/XrdHttp-4.dir/all] 
>> Error 2
>> make: *** [Makefile:128: all] Error 2
> 
> There may be an explicit flag(s) that the build can use to force the use of 
> Fink’s OpenSSL.  I haven’t looked at this build yet in any depth, however.


Could you try to add the following line to 
'/sw/fink/dists/stable/main/finkinfo/sci/xrootd4.info' after the cmake command:
  -DOPENSSL_INCLUDE_DIR=%p/include -DOPENSSL_LIB_DIR=%p/lib \
and see if that allows you to build xrootd successfully?

Cheers,
Remi


Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to