Closed cedlecomte closed 10 years ago
From brandon....@gmail.com on January 13, 2012 12:14:42
New source RPM in downloads resolves this. Instead of changing SVN source, the spec file will search/replace the perl path prior to install. Tested as working on a fresh CentOS6 server with the epel repo.
Status: Fixed
Owner: brandon....@gmail.com
From gregw1...@gmail.com on July 12, 2011 10:59:55
What steps will reproduce the problem? 1.build rpms on centos 5.6 2.install rtg2 rpm, no problem 3.attempt to install rtg2-plot rpm,fails with:
[root@bw ~]# rpm -Uhv rtg2-plot-0.9-1.i386.rpm error: Failed dependencies: /usr/local/bin/perl is needed by rtg2-plot-0.9-1.i386 [root@bw ~]#
this patch against svn plus a rebuilt srpm would fix it:
Index: targetmaker/etc/findsnmp_hosts
--- targetmaker/etc/findsnmp_hosts ( revision 20 ) +++ targetmaker/etc/findsnmp_hosts (working copy) @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl
$Id: findsnmp_hosts,v 1.1 2008/01/19 03:22:14 btoneill Exp $
# #
Index: targetmaker/web/php/locales/pigtrans.pl
--- targetmaker/web/php/locales/pigtrans.pl ( revision 20 ) +++ targetmaker/web/php/locales/pigtrans.pl (working copy) @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w
while() {
Original issue: http://code.google.com/p/rtg2/issues/detail?id=21