Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17834 closed defect (invalid)

Error building p5-math-pari while trying to install nedi

Reported by: christoph_murauer@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: nedi, p5-math-pari Cc:
Port: p5-math-pari

Description (last modified by mf2k (Frank Schima))

Hello !

I have tried to install "nedi" with MacPorts 1.7.0 on Leopard 10.5.5 and got the following error message :

--->  Configuring p5-math-pari
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-math-pari/work/Math-Pari-2.010709" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 255
Command output: Did not find GP/PARI build directory around.
Non-interactive session, autofetching...
Getting GP/PARI from ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/
Cannot list (Failed to establish connection.
):  at utils/Math/PariBuild.pm line 247.

Can't fetch file with Net::FTP, now trying with LWP::UserAgent...
Not in this directory, trying `ftp://megrez.math.u-bordeaux.fr/pub/pari/unix/OLD/'...
Did not find any file matching /((?:.*\/)?pari\W*(?!2\.3\.)(\d+\.\d+\.\d+).*\.t(?:ar\.)?gz)$/ via FTP.

Rerun Makefile.PL when you fetched GP/PARI archive manually to the
current directory, or a (grand)parent directory of it.

  [Keep in mind that version of Math::Pari module corresponds to
   the last versions of GP/PARI it was tested with.]

    Alternatively, you may specify
      pari_tgz=PATH_TO_TAR_GZ
    option to Makefile.PL.  (There is no need to extract the archive, or
    build GP/PARI; but if you have it extracted [and patched, if needed],
    you may specify
      paridir=PATH_TO_DIST_DIR
    option to Makefile.PL)


Error: The following dependencies failed to build: p5-net-ssh-perl p5-crypt-rsa p5-crypt-primes p5-math-pari p5-digest-md2 p5-sort-versions p5-tie-encryptedhash p5-digest-bubblebabble p5-math-gmp gmp p5-string-crc32 p5-net-telnet p5-net-telnet-cisco rrdtool glib2 pango tcl
Error: Status 1 encountered during processing.

How can I fix this problem ? Sorry, I am new using MacPorts but I had before installed MySQL 5, Apache 2 and PHP with SNMP enabled and all aplications work normal.

Thanks for your help.

Regards,

Chris

Change History (6)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: markd@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to markd@…

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…
Port: p5-math-pari added; nedi removed
Summary: nedi @1.0, Revision 2 - configure failure - build failureError building p5-math-pari while trying to install nedi

This is actually a problem with p5-math-pari.

comment:3 Changed 16 years ago by blb@…

p5-math-pari definitely needs someone to help it out, this also came up on the -users mailing list in November, search for p5-math-pari at http://lists.macosforge.org/pipermail/macports-users/2008-November/thread.html.

comment:4 in reply to:  3 Changed 16 years ago by christoph_murauer@…

Replying to blb@…:

p5-math-pari definitely needs someone to help it out, this also came up on the -users mailing list in November, search for p5-math-pari at http://lists.macosforge.org/pipermail/macports-users/2008-November/thread.html.

Replying to macsforever2000@…:

This is actually a problem with p5-math-pari.

Hello !

NeDi install is now complete.

Thanks for your fast answer. I found out, that it is a perl problem. During the install of the ports (don´t know exactly which) there apears a firewall dialog (application level firewall from prefs / security / firewall). After a view seconds this window disapears and I thought ok ... then all should be ok.

I have tried the install again and also checked the links in the error messages to the ftp servers (both are working).

I checked my firewall log (the reason was that my ipfw configuration is not complet) and saw the folowing entry : Dec 31 04:55:03 * Firewall[34]: Deny perl connecting from 147.210.16.88:20 uid = 0 proto=6

The firewall has set perl to deny (that was the window which disapears - which wasn´t answered from me. The nslookup say : 88.16.210.147.in-addr.arpa. 85493 IN PTR pari.math.u-bordeaux1.fr

So I allowed perl to accept connections : Dec 31 05:03:54 * Firewall[34]: Allow perl connecting from 147.210.16.88:20 uid = 0 proto=6

I restarted the installation (with sudo port install nedi) and it works now ... don´t know why.

Regards,

Chris

P.S. : Leopard is 10.5.6 this was a mistake from me - sorry.

comment:5 Changed 16 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Glad you got it working!

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.