LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   problem installing mcrypt (https://www.linuxquestions.org/questions/linux-general-1/problem-installing-mcrypt-541279/)

marvelade 03-28-2007 06:51 AM

problem installing mcrypt
 
Hi All.

I set up Ubuntu Server 6.06 with LAMP and installed phpMyAdmin. When I access phpMyAdmin from another pc through the network it gives me an error

"Cannot load mcrypt extension. Please check your PHP configuration."

When I try to install mcrypt according to the instructions given here:
http://www.alt-php-faq.org/local/95/

The console gives me the following error after running the "./configure --disable-posix-threads" command:

"configure: error: no acceptable C compiler found in $PATH"

Question 1: Do I really need the mcrypt extension?
Question 2: If yes, how can I resolve the 'no acceptable C compiler' error?

thanks in advance and best regards,
Marvelade.

wpn146 03-29-2007 01:16 PM

"configure" looks for a valid C compiler by attempting to compile and run a small C program. This tests that there is a C compiler available, and it can produce an executable output file, which when executed outputs an expected message. (This also tests that the assembler, linker, and default libraries are valid.)

By invoking "configure" you are preparing to compile "mcrypt" from source, which might not be necessary if you can find a compiled package in the format for your Linux distribution.

marvelade 03-30-2007 03:15 AM

Quote:

Originally Posted by wpn146
By invoking "configure" you are preparing to compile "mcrypt" from source, which might not be necessary if you can find a compiled package in the format for your Linux distribution.

Hey wpn146,

Thx for your reply. I found a .deb file on the web which I was told is the correct format for Ubuntu. I use Ubuntu Server 6.06 mainly as an internal web-server for our company's intranet which I wrote in PHP.

I'll try to set this up and post my success (i hope ;) ) here when I finish.


greetz & thx again,
marvelade

marvelade 03-30-2007 10:28 AM

Quote:

Originally Posted by marvelade
I'll try to set this up and post my success (i hope ;) ) here when I finish.

there were some dependencies which were not present but after manually installing those it worked fine . Thanks for the pointers and best regards,

marvelade(.com)


All times are GMT -5. The time now is 10:44 PM.