Ubuntu Servers :: Installing Mod_perl - Make: [modperl_lib] Error 2
Apr 12, 2011
I'm installing mod_perl and when running the make test I got the following errors:
-o mod_perl.so
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/home/alan/mod_perl-2.0.5/src/modules/perl'
make: *** [modperl_lib] Error 2
So as this is the first time I have tried developing with mod_perl I tried googling the error and -lperl
View 2 Replies
ADVERTISEMENT
Jul 10, 2010
I am installing mod_perl on the Linux box. Could successfully installed httpd, mod_perl, expat. Now when I try to run "make" command for libapreq2-2.12, it gives following error -
[FONT="Arial"]Making all in glue
make[1]: Entering directory `/opt/customer/apache/2.2.8_64_modperl/lib/libapreq2-2.12/glue'
cd perl; /usr/bin/perl Makefile.PL -apxs /opt/customer/apache/2.2.8_64_modperl/bin/apxs
Can't locate Apache2/Build.pm in @INC (@INC contains: /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.4/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.3/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.2/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.1/x86_64-linux-thread-multi
[Code]...
View 2 Replies
View Related
Feb 1, 2011
I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...
View 3 Replies
View Related
Feb 6, 2010
I've been trying to install the latest version of Emacs from source but I'm running into a trouble. The commands "./configure" and "make" work just fine. However, when I run "sudo checkinstall" I get a message saying that makeinfo is missing:
Code: makeinfo is missing - cannot build manuals make: *** [info] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. What is Error 1
View 4 Replies
View Related
Feb 19, 2011
I'm trying to install vnstat on my Slackware box, but it fails while compiling.here:
Code:
root@go:/home/vnstat-1.10# make
make -C src
make[1]: Entering directory `/home/vnstat-1.10/src'
gcc -O2 -c -o vnstat.o vnstat.c
In file included from /usr/include/bits/posix1_lim.h:157,
[Code]...
View 4 Replies
View Related
Jul 20, 2011
I tried to install ffmpeg on 7.04(Fiesty Fawn). when i ran ./configure from terminal window, i got error regarding c compiler that unable to make executable file.
View 5 Replies
View Related
Feb 25, 2011
I am trying to install a program and it spews out an error about the .obj/matrix.o file.
The output is quoted here:
Code:
The program I was trying to install is a robot simulator which performs lots of matrix manipulation and linear system solving. I followed every step in the installation guide, except for this one:
On Ubuntu, all you need to do is install the following packages from the package manager:
libblas-dev
liblapack-dev
As shown above, I am using RHEL 6, which has different libraries with Ubuntu. I tried "yum search" and installed these libraries instead: lapack.x86_64 : Numerical linear algebra package libraries blas.x86_64 : The Basic Linear Algebra Subprograms library.
View 2 Replies
View Related
Jun 14, 2010
I downloaded linphone 3.30 using mozila and tried installing. while giving the command ./configure it was successful and next giving the command make gives me a error message make file is not found. but makefile.am and makefile.in is already available in the current working directory.
I have given the link of the pastebin for ./configure command and make command..
View 4 Replies
View Related
Mar 17, 2010
The relevant details of my setup are:
Samsung R522 laptop
Realtek RTL8192E wireless network controller (PCI)
Fedora 12, kernel 2.6.32.9-70.fc12.i686 (automatically updated using software update)
My problem is that my wireless card has never worked - basically there aren't any widely available linux drivers, and there are many threads on getting the RTL8192E to work on many different forums, e.g. here, but none specifically for Fedora, so I think that this thread could potentially guide many more users. FYI, my hardwired network connection works perfectly.
Fantastically however, by emailing Realtek support, they'll send you their Linux driver, which most people have claimed works perfectly (although why they haven't just put it on their website is beyond me). SO, I've got a Linux driver for my wireless card. When Realtek emailed me to send me the driver, they said to just 'cd' into the driver directory, then do
su
make clean
make
make install
reboot
./wlan0up or ./wlan1up
OK, so I tried to do this and get the following error:
make: *** /lib/modules/2.6.32.9-70.fc12.i686/build: No such file or directory. Stop.
make: *** [all] Error 2
I don't know enough about linux to understand this error. I really don't want to have to recompile my kernel, and I hope there is some way to install this driver with not too much hassle. How to overcome this error, and install my wireless driver so I can get wireless network access on my Fedora 12 operating system. I've found Fedora 12 really easy to use so far, but this is proving quite hard!
This is the output of 'ls -lh' in the folder which seems to be causing the error, namely /lib/modules/2.6.32.9-70.fc12.i686/
total 3.1M
lrwxrwxrwx 1 root root 46 2010-03-16 22:53 build -> ../../../usr/src/kernels/2.6.32.9-70.fc12.i686
drwxr-xr-x 2 root root 4.0K 2010-03-03 05:28 extra
drwxr-xr-x 11 root root 4.0K 2010-03-16 22:53 kernel
-rw-r--r-- 1 root root 498K 2010-03-16 22:53 modules.alias .....
View 7 Replies
View Related
Apr 13, 2011
I am relatively new to linux and am running into a problem. I just got a new laptop and need to configure/install it's wireless driver but am getting an error when running "make". The error is: make[1]: Entering directory `/lib/modules/2.6.37.1-1.2-desktop/build' make[1]: *** No rule to make target `modules'. Stop.
I have scoured these forums and know that others have the same issue (when configuring other drivers/programs). I am sorry if this post is redundant. It sounds like the Makefile is pointing to the wrong directory. I am using opensuse 11.4, have make and gcc installed. My kernel is linux-2.6.37.1-1.2 (I just re-installed the desktop kernel to make sure it was up to date). The driver I am trying to install is located here: AUR (en) - rtl8192ce.
Another forum suggests pointing somewhere in the /usr/src/linux-2.6.37.1-1.2 directory instead. Is this correct? Should I be pointing to a folder within this? I am not a programmer but any description about what I am actually putting in this directory and why would be awesome (so I can learn a bit more). Or just helping me solve the problem would be great too.
View 9 Replies
View Related
Apr 30, 2009
I'm trying to install squirrel mail in Fedora 10 server: I'm following this tutorial: [URL]. I'm at sudo rpm -ivh courier-imap-4.4.1.20080920-1.10.i386.rpm
When I run the command I get:
error: Failed dependencies:
/usr/local/bin/perl is needed by courier-imap-4.4.1.20080920-1.10.i386
I found this page [URL] which actually describes the error and gives a "solution" however it doesn't seem to solve my problem
error: Failed dependencies:
/usr/local/bin/perl is needed by courier-imap-4.1.1-1.4.i386
Solution: export PATH=/bin:/usr/bin
View 10 Replies
View Related
May 8, 2010
I am trying to install madwifi on fedora 12. I am getting following error which i "make" the project.
[code]...
View 3 Replies
View Related
Nov 11, 2010
Currently I am installing Cairo 1.6.4. I have followed the instructions mentioned in [URL]. When I try to install using "make install" I am getting the following error,
Making install in src
make[1]: Entering directory `/tmp/rrdbuild/cairo-1.6.4/src'
make[2]: Entering directory `/tmp/rrdbuild/cairo-1.6.4/src'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
[code]....
View 3 Replies
View Related
Oct 10, 2010
So I am new to linux and computing in general:I am installing curphoo ( a yahoo chat client). The README file contains the following text:
Code:
You need a Python 2.4 series interpretter starting with Curphoo 0.4.0.
Starting with 0.4.0, Curphoo uses a purely Python implementation of
[code]....
View 14 Replies
View Related
May 2, 2010
Is possible to use mod_perl with lighttpd?
View 1 Replies
View Related
Feb 10, 2011
I am running an Ubuntu Server on a VirtualBox VM running on my windows machine. So I've created a self-signed certificate using the following tutorial: [URL]
From this tutorial I'm left with 3 files:
server.key
server.csr
server.crt
Then I found this very similar tutorial that has an extra bit on installing the certificates in apache: [URL] So I followed it's instructions which boil down to this:
[Code]...
So I'm thinking this should work now. However in Chrome I get: SSL connection error Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have. Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error. IE8 gives me a typical "Internet Explorer cannot display the webpage" Note that [URL] fails while [URL] works fine, so it's definitely something in my ssl setup I'm thinking.
View 5 Replies
View Related
Nov 15, 2010
Few months ago I'd got problem with Apache on my server. Some requests required few gigabytes of memory, much more than was avaliable. I've set ulimit -v XXX and this fixed problem for single request.
I still have got problem with multiples requests. I'm using mod perl, which runs few processes for requests, we can assume, that there is one process per request. ulimit cannot handle this, because it can only limit virtual memory per process, not for a group of processes.
View 1 Replies
View Related
Sep 10, 2010
I am trying to compile and install mod_perl with apache so I can use apache:asp.
I run Makefile.PL with this command.
Code:
perl Makefile.PL APACHE_SRC=../apache_2.2.9/src
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
APACI_ARGS='--prefix=/usr/local/httpd_perl'
then I run make.
I get this error.
[error]
/usr/bin/ld: cannot find -lperl
collect2: ld returned 1 exit status
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory `/usr/src/mod_perl/src/modules/perl'
make: *** [modperl_lib] Error 2
[/error]
It does not seem to be finding perl but I do nt know why or what to do about it?
could this be the problem? APACI_ARGS='--prefix=/usr/local/httpd_perl' I do not have the slightest ideal what that means or if I need it.
View 2 Replies
View Related
Apr 27, 2011
I have mod_cgi working perfectly. However, it turns out there are features of mod_perl that I'm trying to use. I have followed all the documentation I can find on using Ubuntu's mod_perl install with Apache2. There seems to be some type of problems with the mod_perl's documentation, as it doesn't work as it's defined. However, I found a modification to make it work, but only is designated directories. If I tried to use in a directory with my other HTML files the regular HTML files will fail.
Using these steps (but using apt-get's install rather than compiling the tar ball). I did as follows:
[URL]
placed this in the httpd.conf file (which was basically the same as "a2enmod perl".
httpd.conf line:
Code:
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
Alias /perl/ /home/web/perl/
<Directory /home/web/perl>
SetHandler perl-script
[Code]....
View 7 Replies
View Related
Aug 6, 2010
would this script not work?
Code:
#!/usr/bin/perl
#PERL module
use Mysql;
#CONFIG VARIABLES
[Code].....
I clearly have a lot to learn, but I have done about 10 Google searches trying to find out how to test connectivity b/t mod_perl and mysql.. maybe I'm confused on how this works.
I have this in httpd.conf
Code:
Perlrequire /etc/httpd/conf/perl-startup.pl
PerlWarn On
PerlModule Apache::DBI
I have this in perl-startup.pl
[Code]....
View 4 Replies
View Related
Oct 7, 2010
I am getting an error as below.
How do I resolve the error: make[2]: *** No rule to make target `', needed by `mpg123'.
How can I resolve this error.
View 4 Replies
View Related
Oct 9, 2010
I have a trouble with the installation the libapreq2 package to configure mod_perl and Template Toolkit on Centos Linux with Apache 2.2.3 I obtained the following error message:
This error message appears when it tries to configure apxs.
View 3 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
Jun 27, 2011
If I have a hard-disk with Ubuntu fully installed on it and I want to - all of a sudden - use Windows XP, is it mandatory that I firstly format the hard-disk first? So far, I have used two versions of Windows XP; one of them is from a few years before the other. Both copies of Windows XP when in start-up from booting from CD are causing errors. One of them is a BSOD error (0x0000007B) and the next Windows CD is stopping and giving me an error with setupdd.sys (error code 4). Is it required that the hard-disk is formatted before you even put a Windows boot CD in?
View 2 Replies
View Related
Sep 15, 2010
I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)
My current Makefile
Quote:
#What needs to be built to make all files and dependencies
clean:
# End of Makefile
I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.
I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop
View 1 Replies
View Related
Nov 17, 2010
When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.
I get an error indicating that the make utility cannot execute the java compile command (javac).
The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file
I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.
I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6
My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu
However, I can manually compile using javac.
I can compile calling javac from within a bash script.
I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe
But I cannot compile java code from the makefile. Any reasons why I might be getting this error?
View 4 Replies
View Related
Aug 7, 2010
I was trying to installed skype and i am getting a error that reads: Error: Wrong architecture 'i386' has any one installed skype before?
View 3 Replies
View Related
Oct 14, 2010
I was having a go at compiling the latest Amarok 2.3.2. As I run make I get the following error
make[2]: *** [lib/amarok_collection-mysqlecollection.so] Error 1
make[1]: *** [src/core-impl/collections/sqlcollection/mysqlecollection/CMakeFiles/amarok_collection-mysqlecollection.dir/all] Error 2
make: *** [all] Error 2
I'm running Slackware64-current. how to prevent this error arising?
View 13 Replies
View Related
Apr 17, 2010
At first I apologize if my question isn't so Ubuntu-related. I had Win7 installed on my first partition. Before installing xp (on second partition), I toke a backup of MBR (actually first 63 sectors) by dd utility. Later i installed xp. You may know, it doesn't know seven and makes it un-bootable. Then I restored MBR. But I surprised because xp still boots up. whats the problem? BTW what I want to do now is to multi boot xp and seven. Is there any work around, something like a hack using GRUB boot loader to be able boot the both?
View 5 Replies
View Related
Apr 29, 2011
I just installed ubuntu 11.04 on a separate partition on my hard drive so i can have dual boot for window 7 and ubuntu. I have done this in the past with 10.10 and it use to work fine. But now after installing 11.04 I am not able to boot it. I have recorded a video of what happens. here is the link. http://www.......com/watch?v=oLr2LqS0cEQ
I have written my laptop spec in the description of the video.
View 5 Replies
View Related