Opened 11 years ago

Closed 11 years ago

#41041 closed defect (invalid)

upgrade m4 1.4.6

Reported by: m.di.gennaro.bari@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: m4

Description (last modified by mf2k (Frank Schima))

Dear everybody,

I need to upgrade my m4 version, so i followed the normal procedure: "port search m4", then "sudo port install m4 @1.4.16" The installation proceeds fine but, after it finishes, the m4 version is still unchanged.

$ which m4

/usr/bin/m4
$

$ m4 --v

GNU M4 1.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Written by Rene' Seindal.
$

I tried to perform "port upgrade m4" but still nothing. Thanks for the help

Change History (5)

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

$ which m4

/usr/bin/m4

Well that's your issue right there. MacPorts's m4 port puts an executable named gm4 in your path by default so as not to conflict with the system m4. If you really want to use it without the g prefix, there is an un-prefixed symlink to the executable in ${prefix}/libexec/gnubin, which you can add to your path if you want.

comment:2 Changed 11 years ago by m.di.gennaro.bari@…

I can't find any gm4. how do i know where the port are installed by default?

comment:3 in reply to:  2 Changed 11 years ago by larryv (Lawrence Velázquez)

The list of files installed by m4:

port contents m4

comment:4 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: upgrade removed
Owner: changed from macports-tickets@… to blair@…
Type: updatedefect

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers m4).

comment:5 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Replying to m.di.gennaro.bari@…:

"sudo port install m4 @1.4.16"

MacPorts doesn't work like that. You can't specify what version to install. You'll always get the single version we have available, not any other version.

Please re-open if there's an issue here; so far it doesn't seem like it.

Note: See TracTickets for help on using tickets.