From: Wei Yang Tan on

Hi!


I tried to install the port /usr/ports/sysutils/LPRng by executing the command:


"make PORT_REPLACES_BASE_LPR=yes clean all install"


based on the Makefile suggestion.


However, I receive the following error which occurs after installing the /usr/lib:


===> Installing rc.d startup script(s)
install: /usr/etc/rc.d/lprng: No such file or directory
*** Error code 71


It seems like it cannot find the directory /usr/etc. Should it be using the directory /etc or do I need to create a new directory /usr/etc/rc.d?


Thanks for your help

_________________________________________________________________
Hotmail: Trusted email with Microsoft��s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Wei Yang Tan on

> Hi!
>
>
> I tried to install the port /usr/ports/sysutils/LPRng by executing the command:
>
>
> "make PORT_REPLACES_BASE_LPR=yes clean all install"
>
>
> based on the Makefile suggestion.?
>
>
> However, I receive the following error which occurs after installing the /usr/lib:
>
>
> ===> Installing rc.d startup script(s)
> install: /usr/etc/rc.d/lprng: No such file or directory
> *** Error code 71
>
>
> It seems like it cannot find the directory /usr/etc. Should it be using the directory /etc or do I need to create a new directory /usr/etc/rc.d?
>
>
> Thanks for your help





Just to add on, next time if I want to deinstall (assuming "make PORT_REPLACES_BASE_LPR=yes clean all install" is successful), do I execute "make PORT_REPLACES_BASE_LPR=yes deinstall"?



Thank you for your help



_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Matthew Seaman on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 30/05/2010 05:13:59, Wei Yang Tan wrote:
> Just to add on, next time if I want to deinstall (assuming "make
> PORT_REPLACES_BASE_LPR=yes clean all install" is successful), do I
> execute "make PORT_REPLACES_BASE_LPR=yes deinstall"?

Yes. 'make deinstall' specifically checks that the current setting of
$PREFIX matches the one with which the port was installed before it will
run pkg_delete(1).

Or you can run pkg_delete(1) outside the ports system, when it will
delete the port you tell it to without such checks.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew(a)infracaninophile.co.uk Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwCA4cACgkQ8Mjk52CukIxbKQCdHk6jCX+DVF9nzBCz6+vMmH/4
q/YAn2lItz6A7wWtBdULYuIOcuPGjvll
=V3ji
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"