[MacPorts] #22224: libssh2-1.2.1 ppc Make error - syntax error near unexpected token `|'

MacPorts noreply at macports.org
Mon Oct 26 07:03:35 PDT 2009


#22224: libssh2-1.2.1 ppc Make error - syntax error near unexpected token `|'
------------------------------------+---------------------------------------
 Reporter:  trevordevore@…          |       Owner:  pmq@…           
     Type:  defect                  |      Status:  new             
 Priority:  Normal                  |   Milestone:                  
Component:  ports                   |     Version:  1.8.1           
 Keywords:                          |        Port:  libssh2         
------------------------------------+---------------------------------------

Comment(by iamgnat@…):

 Manually setting the PPC value to match the x86 values allowed the make to
 continue, but it still eventually fails as it does not find any symbols.
 Looking back, I came back to the same offending command and found that it
 was trying to use "link -dump -symbols" and link was complaining that "-d"
 is not a known option.

 In poking around, I found this link about similar issues someone was
 having with glib (not in MacPorts):
 http://article.gmane.org/gmane.comp.gnu.libtool.bugs/6771

 Modifying libssh2's Portfile to add "configure.env-append NM=/usr/bin/nm"
 appears to have let it built successfully (with all the appropriate
 universal platforms included).

 {{{
 # $Id: Portfile 58920 2009-10-07 09:43:21Z toby at macports.org $

 PortSystem 1.0
 PortGroup  muniversal 1.0

 name              libssh2
 version           1.2.1
 categories        devel net
 platforms         darwin
 maintainers       pmq openmaintainer

 description       libssh2 is a library implementing the SSH2 protocol
 long_description  libssh2 is a library implementing the SSH2 protocol as \
                   defined by Internet Drafts: SECSH-TRANS(22), \
                   SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-
 ARCH(20), \
                   SECSH-FILEXFER(06), SECSH-DHGEX(04), and SECSH-
 NUMBERS(10).

 license           BSD

 homepage          http://www.libssh2.org/
 master_sites      ${homepage}download/ sourceforge
 checksums         md5 4ee0197947a3b8a4472328c346e1a0e4 \
                   sha1 fc5e66089340cce1cf03a8cfd75b6f15ed59d30c \
                   rmd160 12da32cc6a1f79dd3627037645b848f4bf1c7b20

 depends_lib       port:openssl port:zlib

 configure.env-append    NM=/usr/bin/nm
 }}}

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


More information about the macports-tickets mailing list