[MacPorts] #25607: p5-crypt-ssleay doesn't build against macports openssl

MacPorts noreply at macports.org
Mon Jan 24 19:43:01 PST 2011


#25607: p5-crypt-ssleay doesn't build against macports openssl
--------------------------------+-------------------------------------------
 Reporter:  dluke@…             |       Owner:  l2g@…           
     Type:  defect              |      Status:  assigned        
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  1.9.2           
 Keywords:                      |        Port:  p5-crypt-ssleay 
--------------------------------+-------------------------------------------
Changes (by l2g@…):

  * owner:  mas@… => l2g@…
  * status:  new => assigned
  * version:  1.9.1 => 1.9.2


Comment:

 I edited the portfile to update Crypt::SSLeay to 0.58 and to override
 `configure.args` to give Makefile.PL a `--lib` switch that explicitly
 points to the MacPorts tree. It gives more comforting messages at
 configure time now:

 {{{
 --->  Configuring p5-crypt-ssleay
 DEBUG: Using compiler 'Mac OS X gcc 4.2'
 DEBUG: configure phase started at Mon Jan 24 19:38:44 PST 2011
 DEBUG: Executing org.macports.configure (p5-crypt-ssleay)
 DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-O2 -arch i386'
 CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386'
 LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6'
 CXX='/usr/bin/g++-4.2'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -crypt-ssleay/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m32'
 LDFLAGS='-L/opt/local/lib -arch i386' FCFLAGS='-O2 -m32'
 OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' PERL_AUTOINSTALL='--
 skipdeps' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32'
 CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5
 -crypt-ssleay/work/Crypt-SSLeay-0.58" && /opt/local/bin/perl Makefile.PL
 --lib=/opt/local INSTALLDIRS=vendor'

 BUILD INFORMATION
 ================================================
 ssl library: OpenSSL 1.0.0c in /opt/local
 ssl header:  openssl/ssl.h
 libraries:   -L/opt/local/lib -lssl -lcrypto -lgcc
 include dir: -I/opt/local/include
 ================================================
 Checking if your kit is complete...
 Looks good
 Note (probably harmless): No library found for -lgcc
 Writing Makefile for Crypt::SSLeay
 The test suite can attempt to connect to public servers
 to ensure that the code is working properly. If you are
 behind a strict firewall or have no network connectivity,
 these tests may fail (through no fault of the code).
 Do you want to run the live tests (y/N)? [N] N
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/25607#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list