New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21816 (closed submission: fixed)

Opened 2 years ago

Last modified 2 years ago

cdf-to-fits: new port

Reported by: doc.aronnax@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: macsforever2000@…
Port: cdf-to-fits

Description

I would like to submit the attached Portfile. cdf-to-fits is a program maintained by Goddard Space Flight Center for converting between two commonplace scientific data formats: CDF and FITS.

Unfortunately, I cannot find any directions for installing a port that is not already indexed. I would appreciate anyone's help on that.

Attachments

Portfile Download (0.6 KB) - added by doc.aronnax@… 2 years ago.
New portfile
Portfile.2 Download (0.8 KB) - added by doc.aronnax@… 2 years ago.
The new, new portfile
patch-Makefile.in.diff Download (240 bytes) - added by doc.aronnax@… 2 years ago.
Patchfile for fixing misbehavior of install

Change History

Changed 2 years ago by doc.aronnax@…

New portfile

  Changed 2 years ago by doc.aronnax@…

  • cc doc.aronnax@… added

Cc Me!

  Changed 2 years ago by macsforever2000@…

  • cc doc.aronnax@… removed
  • port set to cdf-to-fits

follow-up: ↓ 5   Changed 2 years ago by macsforever2000@…

To install it, create a directory with the name of the port. Move the Portfile into the directory. cd into the directory. Type:

sudo port install

  Changed 2 years ago by macsforever2000@…

  • cc macsforever2000@… added

Cc Me!

in reply to: ↑ 3   Changed 2 years ago by doc.aronnax@…

Replying to macsforever2000@…:

To install it, create a directory with the name of the port. Move the Portfile into the directory. cd into the directory. Type: {{{ sudo port install }}}

That didn't work for me. MacPorts says:

Error: Port cdf-to-fits not found

  Changed 2 years ago by macsforever2000@…

You are doing something wrong. Please cd into the new directory and report the output of the following commands:

pwd
ls -al

Due to a number of syntax errors, the port doesn't install as you have it. You are missing a few line continuation characters. Also "maintainer" should be "maintainers". I've fixed the errors locally, but I am waiting for gcc42 to install, so it might be a while.

  Changed 2 years ago by doc.aronnax@…

$ pwd
/opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf-to-fits
$ ls -al
total 8
drwxr-xr-x    3 root  admin   102B Oct  4 03:26 ./
drwxr-xr-x  145 root  admin   4.8K Oct  4 03:03 ../
-rw-r--r--    1 root  admin   665B Oct  4 03:26 Portfile

  Changed 2 years ago by macsforever2000@…

Then you did not type exactly:

sudo port install

Changed 2 years ago by doc.aronnax@…

The new, new portfile

Changed 2 years ago by doc.aronnax@…

Patchfile for fixing misbehavior of install

follow-up: ↓ 15   Changed 2 years ago by doc.aronnax@…

Thanks for the help with testing the installation.

Could someone add instructions for testing a new port to the Guide?

The port now works with the attached portfile (Portfile.2) and the attached patchfile. It is ready for submission.

  Changed 2 years ago by doc.aronnax@…

Is anyone going to add this port? I do not have Subversion access, it would be great if someone would put this in!

follow-up: ↓ 12   Changed 2 years ago by macsforever2000@…

I am not able to install this port on snow Leopard because one of its dependencies - gcc42 - fails to build there. See #20933.

in reply to: ↑ 11 ; follow-up: ↓ 13   Changed 2 years ago by doc.aronnax@…

Replying to macsforever2000@…:

I am not able to install this port on snow Leopard because one of its dependencies - gcc42 - fails to build there. See #20933.

Did you try installing it on Leopard? I have not yet upgraded to Leopard; I have never experienced any problem with the gcc42 port.

gcc42 is not a direct dependency of this proposed package.

in reply to: ↑ 12   Changed 2 years ago by macsforever2000@…

Replying to doc.aronnax@…:

Did you try installing it on Leopard?

I have upgraded to Snow Leopard and I don't have easy access to Leopard anymore.

  Changed 2 years ago by ryandesign@…

  • owner changed from macports-tickets@… to ryandesign@…
  • status changed from new to assigned

in reply to: ↑ 9   Changed 2 years ago by ryandesign@…

  • status changed from assigned to closed
  • resolution set to fixed

Replying to doc.aronnax@…:

The port now works with the attached portfile (Portfile.2) and the attached patchfile. It is ready for submission.

Thanks, I added it in r61066. It installs fine on Snow Leopard, now that cdf depends on gcc44 instead of gcc42.

Note: See TracTickets for help on using tickets.