Discussion:
[Netdot-users] perl script "INSTALLDIRS=site" error while installing Apache2::Request through cpan utility of Netdot
Gaurav Kansal
2014-04-07 08:59:00 UTC
Permalink
Hi Folks,



I am trying to install Netdot 1.0.4 in CentOS 6.



While installing Apache2::Request through cpan utility, I am getting the
following error.

I had tried to google it and do lot of troubleshooting but didn't get the
success :(.



checking whether ln -s works... yes

checking whether to enable maintainer-specific portions of Makefiles... no

./configure: line 20252: -q: command not found

./configure: line 20266: -q: command not found

./configure: line 20270: -q: command not found

./configure: line 20274: -q: command not found

./configure: line 20274: -q: command not found

Can't open perl script "INSTALLDIRS=site": No such file or directory

configure: error: Bad apache2 binary (/)

Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]

ISAAC/libapreq2-2.13.tar.gz

/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK

Running make test

Make had some problems, won't test

Running make install

Make had some problems, won't install

Failed during this command:

ISAAC/libapreq2-2.13.tar.gz : writemakefile NO
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256



I had installed the libapreq2-2.13 package separately but didn't get any
success.

I had also try to install Netdot 1.0.5 but facing same issue.



Pl. guide me what should I do ??





Regards,

Gaurav Kansal





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140407/236b3f3f/attachment.html
Carlos Vicente
2014-04-07 12:34:38 UTC
Permalink
Hello Gaurav,

I recommend using the appropriate distribution packages when possible. In the case of RPM-based distros like CentOS, the three packages are:

# rpm -Uvh libapreq2 libapreq2-devel perl-libapreq2

What exact problem did you find when installing the libapreq2 package?

cv
Post by Gaurav Kansal
Hi Folks,
I am trying to install Netdot 1.0.4 in CentOS 6.
While installing Apache2::Request through cpan utility, I am getting the following error.
I had tried to google it and do lot of troubleshooting but didn?t get the success L.
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
./configure: line 20252: -q: command not found
./configure: line 20266: -q: command not found
./configure: line 20270: -q: command not found
./configure: line 20274: -q: command not found
./configure: line 20274: -q: command not found
Can't open perl script "INSTALLDIRS=site": No such file or directory
configure: error: Bad apache2 binary (/)
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
ISAAC/libapreq2-2.13.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
ISAAC/libapreq2-2.13.tar.gz : writemakefile NO '/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256
I had installed the libapreq2-2.13 package separately but didn?t get any success.
I had also try to install Netdot 1.0.5 but facing same issue.
Pl. guide me what should I do ??
Regards,
Gaurav Kansal
_______________________________________________
Netdot-users mailing list
Netdot-users at osl.uoregon.edu
https://osl.uoregon.edu/mailman/listinfo/netdot-users
Gaurav Kansal
2014-04-07 16:14:33 UTC
Permalink
Hi Carlos,



Thanks for prompt response.

I was trying to install the libapreq2 package through "Yum repository" only
but somehow it was not able to find the required package.



Later I install libapreq2 package from EPEL repository and things start
working.

I am eager to participate and contribute in the NetDot project.

How can I do the same?



Regards,

Gaurav Kansal



-----Original Message-----
From: Carlos Vicente [mailto:cvicente.uo at gmail.com]
Sent: Monday, April 07, 2014 6:05 PM
To: Gaurav Kansal
Cc: netdot-users at osl.uoregon.edu
Subject: Re: [Netdot-users] perl script "INSTALLDIRS=site" error while
installing Apache2::Request through cpan utility of Netdot



Hello Gaurav,



I recommend using the appropriate distribution packages when possible. In
the case of RPM-based distros like CentOS, the three packages are:



# rpm -Uvh libapreq2 libapreq2-devel perl-libapreq2



What exact problem did you find when installing the libapreq2 package?



cv



On Apr 7, 2014, at 4:59 AM, Gaurav Kansal < <mailto:gaurav.kansal at nic.in>
Post by Gaurav Kansal
Hi Folks,
I am trying to install Netdot 1.0.4 in CentOS 6.
While installing Apache2::Request through cpan utility, I am getting the following error.
I had tried to google it and do lot of troubleshooting but didn't get the
success L.
Post by Gaurav Kansal
checking whether ln -s works... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
./configure: line 20252: -q: command not found
./configure: line 20266: -q: command not found
./configure: line 20270: -q: command not found
./configure: line 20274: -q: command not found
./configure: line 20274: -q: command not found Can't open perl script
"INSTALLDIRS=site": No such file or directory
configure: error: Bad apache2 binary (/)
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
ISAAC/libapreq2-2.13.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make
test
Make had some problems, won't test
Running make install
ISAAC/libapreq2-2.13.tar.gz : writemakefile NO
'/usr/bin/perl Makefile.PL INSTALLDIRS=site' returned status 256
Post by Gaurav Kansal
I had installed the libapreq2-2.13 package separately but didn't get any
success.
Post by Gaurav Kansal
I had also try to install Netdot 1.0.5 but facing same issue.
Pl. guide me what should I do ??
Regards,
Gaurav Kansal
_______________________________________________
Netdot-users mailing list
<mailto:Netdot-users at osl.uoregon.edu> Netdot-users at osl.uoregon.edu
<https://osl.uoregon.edu/mailman/listinfo/netdot-users>
https://osl.uoregon.edu/mailman/listinfo/netdot-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osl.uoregon.edu/pipermail/netdot-users/attachments/20140407/0795666e/attachment.html
Loading...