Hi, Hope someone can help me with what I am sure is a simple problem to
solve…just not for this newbie to FreeBSD.
I get the following error when attempting to install:
patching for rt2-2.0.14
applying FreeBSD patches for rt2-2.0.14
patch: **** can’t cd to /usr/ports/www/rt2/work/rt-2-0-14: No such file
or
directory
Patch patch-Makefile failed to apply cleanly.
***Error code 1
I gather it is looking for this directory and makefile, but I am lost as
to why this is not included in the ports. Additionally, I have just
updated my ports tree and still no dice.
Any help would be greatly appreciated.
Regards,
Will Williams
NOC Manager,
Star 21 Networks
“Searching for a cheaper trouble ticketing system”
patch: **** can’t cd to /usr/ports/www/rt2/work/rt-2-0-14: No
such file or directory
I gather it is looking for this directory and makefile,
but I am lost as to why this is not included in the ports.
Additionally, I have just updated my ports tree and still no
dice.
I think the port tries to download 2.0.15 when it expects 2.0.14.
Try renaming rt.tar.gz to rt-2-0-14.tar.gz.
I think the port tries to download 2.0.15 when it expects 2.0.14.
Correct.
Try renaming rt.tar.gz to rt-2-0-14.tar.gz.
No, that won’t help. The solution is to get the port to download
a known version instead of the rt.tar.gz moving target.
The port also uses “/usr/local/bin/perl” but doesn’t depend
on the perl5 port. The system supplied perl is okay for use
with RT, so I see no need for this.
Try the attached patch. “make” succeeds for me now. I haven’t
tried a “make install” as I have a perfectly good RT installation
on this box that I’d rather not trash.
Phil Homewood, Systems Janitor, www.SnapGear.com pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
No, that won’t help. The solution is to get the port to
download a known version instead of the rt.tar.gz moving
target.
Sorry, I was not clear enough earlier. Renaming rt.tar.gz in
both Makefile and distinfo prepares the port for 2.0.14. I do
agree, downloading specific version for the port would be an
improvement.
For better or for worse, I keep /usr/local/bin/perl symlinked to
/usr/bin/perl and did not notice the other gotcha.
Thanks for the info from Vince and Phil, how do I apply this patch? I
tried copying to rt2 directory and then running it with sh…sure I am
doing something wrong as it did not work. You’re really helping a newbie
out here.
I think the port tries to download 2.0.15 when it expects 2.0.14.
Correct.
Try renaming rt.tar.gz to rt-2-0-14.tar.gz.
No, that won’t help. The solution is to get the port to download
a known version instead of the rt.tar.gz moving target.
The port also uses “/usr/local/bin/perl” but doesn’t depend
on the perl5 port. The system supplied perl is okay for use
with RT, so I see no need for this.
Try the attached patch. “make” succeeds for me now. I haven’t
tried a “make install” as I have a perfectly good RT installation
on this box that I’d rather not trash.
Phil Homewood, Systems Janitor, www.SnapGear.com pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
Thanks for the info from Vince and Phil, how do I apply this patch? I
tried copying to rt2 directory and then running it with sh…sure I am
doing something wrong as it did not work. You’re really helping a newbie
out here.
cd /usr/ports/www/rt2
patch < /path/to/rt2-port-patch
make install
Phil Homewood, Systems Janitor, www.SnapGear.com pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances
No, that won’t help. The solution is to get the port to download
a known version instead of the rt.tar.gz moving target.
The port also uses “/usr/local/bin/perl” but doesn’t depend
on the perl5 port. The system supplied perl is okay for use
with RT, so I see no need for this.
Try the attached patch. “make” succeeds for me now. I haven’t
tried a “make install” as I have a perfectly good RT installation
on this box that I’d rather not trash.
Plasmabal is made aware of this problem; your patch has been
applied to our depot (http://p4.elixus.org/snap/rt-ports.tar.gz
which also contains rt3 and mod_perl2 ports); we’ll get keichii
to commit it soon.
I think the port tries to download 2.0.15 when it expects 2.0.14.
Correct.
This port was made when I was new to RT2. Refering to rt.tar.gz is
my stupid mistake.
Try the attached patch. “make” succeeds for me now. I haven’t
tried a “make install” as I have a perfectly good RT installation
on this box that I’d rather not trash.
I am almost there. I copied the patch to rt2 directory. and ran the
commands below as you indicated. I get the error
“Hmm… I can’t seem to find a patch in there anywhere”
I then tried renaming the patch "patch-* as suggested in the FreeBSD
Porter’s Handbook…still no dice. Then created a separate directory
containing nothing but the various named versions of the patch; this didn’t
work either. Am I forgetting something?
Hi, Hope someone can help me with what I am sure is a simple problem to
solve…just not for this newbie to FreeBSD.
I get the following error when attempting to install:
patching for rt2-2.0.14
applying FreeBSD patches for rt2-2.0.14
patch: **** can’t cd to /usr/ports/www/rt2/work/rt-2-0-14: No such file or
directory
Patch patch-Makefile failed to apply cleanly.
***Error code 1
I gather it is looking for this directory and makefile, but I am lost as
to why this is not included in the ports. Additionally, I have just
updated my ports tree and still no dice.
Any help would be greatly appreciated.
Regards,
Will Williams
NOC Manager,
Star 21 Networks
“Searching for a cheaper trouble ticketing system”