Software :: Compiling Mod_auth_mysql Apache Module On ArchLinux?
Nov 2, 2010
I've never compiled/built/installed any Apache module before, and I just can't seem to get it working on ArchLinux. I got the source code from here: [URL] Then I tried doing this...
Code:
apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c
And I get this...
Quote:
/usr/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/incl ude -I/usr/include/mysql -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo mod_auth_mysql.c:591:2: error: expected expression before
[code]...
I would eventually like to modify the mod_auth_mysql.c source code so I can append a salt/padding to the end of the hashes (that mod_auth_mysql reads from the database), but I will be happy if I can just install the damn thing.
View 5 Replies
ADVERTISEMENT
Jan 28, 2010
I'm trying to enable the rewrite module in apache, to enabled the module I followed the last entry in the fist page this thread:[URL]...When I restart the apache all works fine, so I supose it's enabled
Now I create .htaccess in my apache folder (/home/user/apache), and I write this:
Code:
RewriteEngine On
RewriteRule ^link([^/]*).html$ test.php?link=$1 [L]
And I try to execute this: ./.htaccess, I have this mistakes:
Code:
./.htaccess: 1: RewriteEngine: not found
./.htaccess: 2: Syntax error: "(" unexpected
What are I doing wrong?
View 1 Replies
View Related
Sep 25, 2015
I'm having problems to compile XIllybus kernel module. As this guide explains, [URL] ..... (on the top of page 8 of 25) I unpackaged the tar.gz file and compiled the kernel module by typing the make command in the proper path. When I compile the module with make command, I get the following error:
make -C /lib/modules/3.16.0-0.bpo.4-amd64/build SUBDIRS=/home/xillybus/module modules
make: *** /lib/modules/3.16.0-0.bpo.4-amd64/build: No such file or directory. Stop.
make: *** [default] Error 2
/lib/modules/3.16.0-0.bpo.4-amd64/build path does not exist. What does it mean? Should I have to install some kernel packet? www does not work for me.
View 3 Replies
View Related
Mar 19, 2011
I'm trying to set it up so that I don't have to recompile the driver for my RAID card manually every time there is a kernel upgrade.I found a thread on it, here and a help page here, and it looks like it builds the module fine, but for some reason it's not being inserted into the new kernel, or something. It's like the new kernel doesn't know it exists, even tho modprobe -l shows the newly built module exists (and is in the correct place)Here's the script that I wrote up to get the drivers set up in DKMS:
Code:
#!/bin/bash
set -e
[code]....
View 4 Replies
View Related
Mar 13, 2011
I update my last kernl to 2.6.38-rc7 but when I launch VirtualBox, on stdout.The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (2.6.38-rc7) or it failed to load. Please recompile the kernel module and install it by sudo /etc/init.d/vboxdrv setup.
View 1 Replies
View Related
Apr 3, 2011
I`m trying to compile sources of kernel module which has been written for kernel 2.6.9. There were many changes in kernel headers since then in current kernel sources. I`ve found that old /asm/system.h was moved under architecture dedicated directory /arch/*/include/asm/system.h. Anyway during sources compilation I`m having errors related to kernel sources. It looks like there is something wrong with this /asm/system.h
Code:
../asm/system.h: In function �__cmpxchg�:
../asm/system.h:248: error: expected string literal before �LOCK_PREFIX�
../asm/system.h:254: error: expected string literal before �LOCK_PREFIX�
[code]....
View 3 Replies
View Related
Jul 6, 2010
I have just started learning Device driver programming in Linux and am stuck in my first program. Its just to see init_module and cleanup_module calls to use printk and see results using dmesg. program is:
Code:
#define MODULE
#include<linux/module.h>
int init_module(void)
[code].....
View 3 Replies
View Related
Sep 27, 2010
Actually, I have posted this problem here but I don�t know if is best to ask it here. The problem is that I have upgraded my OS to Slackware 13.1 64 bits, and now, I can�t compile the module RT73 from serialmonkey
There are a lot of similar tutorials explaining the steps for a succesfully installation. I had followed any of them before, and I had no problem never.
But now, I get this error:
Code:
make[1]:Entering directory "/usr/src/linux-2.6.33.4"
Building modules, stage 2
MODPOST 0 modules
make [1]: Leaving directory "/usr/src/linux-2.6.33.4"
rt73.ko failed to build!
make:*** [module] Error 1
On the other hand, in the serialmonkey page they said that the driver was included into the kernel yet, but I don�t know how can I now if I have the driver installed. The true is that my usb doesn�t work.
It�s is a USB D-Link System AirPlus G DWL-G122 Wireless Adapter (rec.C1) [Ralink RT73]
View 4 Replies
View Related
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
View Related
Aug 27, 2014
I'm trying to compile a Linux kernel module called hello-2.c using the command "make -C /lib/modules/$(uname -r)/build M=${PWD} modules" (without the quotes) (which I found online), and the following is the (seemingly successful) output.:
Code: Select allmake: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
Building modules, stage 2.
MODPOST 0 modules
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
However, I don't see a hello-2.ko (in the same folder or anywhere else for that matter). I'm Using Debian GNU/Linux 7.6.
Everything I am doing is within a folder/directory called "thefolder" (without the quotes) in the "/tmp" directory (without the quotes).
Why I can't see a hello-2.ko, and what to do to get it?
View 2 Replies
View Related
Jan 4, 2011
I am trying to figure out how to compile qcserial.c kernel module from the latest kernel source file located in the 2.6.37-rc8 kernel tree. I have installed the sources for my current kernel 2.6.35-24-generic on maverick and it seems that my includes are not in the right place to make the qcserial.c file happy.
I overcame this issue by passing the -I option to gcc that points to the directories that it is looking for. I am currently getting errors while compiling and I was wondering if it is impossible to compile qcserial.c on my current kernel? I am looking to get the diagnostic port and GPS port enabled for my built-in 3G card.
I havent built modules for quite some time and that was on opensuse with the fglrx module.
View 9 Replies
View Related
May 24, 2011
A friend is running Ubuntu 10.04 on a laptop that uses the Ralink RT5390 chip for wifi which requires compiling and adding a module. My plan is to...
1. download on my 10.04 laptop whatever .dpkg packages are needed to compile a new module,
2. meet at a location that has a good wifi (just in case),
3. connect the two laptops with a cross-over Ethernet cable,
4. download and install the compiling tools + module source on her laptop, and
5. cross my fingers.
So I need to know three things:
1. Which Ubuntu packages must I download to be able to compile a new module? Is "build-essential" enough?
2. Where can I find those packages as .dpkg, so I can install from those offline files instead of fetching them from the Net?
3. To get an Ethernet connection going between the two laptops, do I need to do anything extra on her laptop besides assigning it an IP manually that is in the same range as my laptop?
View 1 Replies
View Related
Apr 20, 2011
Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time
View 13 Replies
View Related
Sep 12, 2011
I am running openSUSE 11.1 with modified Kernel. While trying to run make on the downloaded driver for the RTL2831 I am getting an error message that I do not full understand. That is:
Code:
linux-2c5j:~/rtl2831-r2 # make
make -C /root/rtl2831-r2/v4l
make[1]: Entering directory `/root/rtl2831-r2/v4l'
No version yet, using 3.0.4-41-desktop
[code]...
I am not sure what is required when the error is "first use this function". How can I use the function T_DIGITAL_TV if I first have to install my driver in order to use the stick?
View 1 Replies
View Related
Mar 26, 2011
I em trying to compile fop-1.0 on Slackware64 13.1. I have ant 1.8.1 Slackware package.
Here is the output of ant build:
Code:
View 2 Replies
View Related
Feb 18, 2011
I have Slackware r13.0 32 bit installed, and I'm interested in getting SNORT installed with Barnyard and BASE to learn about IDS using my own home network. I'm following a guide found here:
[URL]
I'm having trouble getting past the "create the BASE tables" section. Everything up to that point seems to have been functioning properly. When I attempt to login with my username/password, I get rejected.
The httpd error log reports the following:
[DATE] [error] [client] user snort not found: /frontend
I can manually get into the mysql database with this username/password combination. I've been working on this on and off again for the past few days, and I forgot what led me to the mod_auth_mysql.so module, but I remember reading some posts elsewhere that pointed to this module. I found the source, and used apxs to compile and install it. However, when I insert the "LoadModule mysql_auth_module modules/mod_auth_mysql.so" line into the httpd.conf file, I can't restart the httpd service, and I'm given this error:
httpd: Syntax error on line 117 of /etc/httpd/httpd.conf: Cannot load /usr/modules/mod_auth_mysql.so into server: /usr/modules/mod_auth_mysql.so: undefined symbol: mysql_select_db It seems that the frontend URL on my server is attempting to use php to authenticate to the mysql database. Am I on the right track here? I've seen other posts with similar problems, but they recommend re-installing either mysql or php from the slackware site, but the Slackware package browser site (http://packages.slackware.it/) is down until a new one is written from scratch.
View 9 Replies
View Related
Apr 25, 2009
I've decided to install apache server from groundzero. So I've done next things:1)downloaded source tar with apache22)unzipped it3)./configure(d) it4)make5)make install
...But!!! I can't start it. apachectl in /usr/local/apache2/bin
error answer is:
<code>
[root@dhcppc1 bin]# apachectl start
[code]...
View 6 Replies
View Related
Jul 21, 2009
I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?
View 3 Replies
View Related
Feb 11, 2010
Just followed the link [URL] for installing apache with --enable-so only. How can I install mod_proxy into the same?
View 2 Replies
View Related
Aug 12, 2010
how to install PHP which is run as an Apache module or run as CGI on detain.
View 3 Replies
View Related
Feb 12, 2009
I installed svn. it works but apache can't load modules
i installed svn using yum :
#yum install subversion mod_dav_svn
View 2 Replies
View Related
May 27, 2010
redirect a domain name with /abc to external ip of web server. Now I can made sure that I should use the rewrite module to achieve this issues. But I don't know how can I enable this function in my apache web server. I will post my httpd.conf for your reference.
View 14 Replies
View Related
Feb 18, 2010
Just setup an Apache2 server, and I would like to setup a login. I also wanted to use the same method that is setup for vsftpd For vsftpd I've created a mysql database.... structured as:
Code:
mysql> use vsftpd
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> describe accounts;
[Code]...
View 2 Replies
View Related
Oct 17, 2009
I compiled a fresh install of httpd on a new linux box, added a virtual hosts entry for an https site, but when I try to start apache I get the error:
Code:
Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration Is this because I don't have mod_ssl compiled in?
View 3 Replies
View Related
Dec 20, 2009
how to do Mysql, PHP, Apache installation configuration, module/library update
View 2 Replies
View Related
Sep 23, 2010
I need to load php module without restart/reload apache, is there a way to do that, php has its option to load zend extension using '-z',
php -z <filename>
is there anyway because I need to load php module in runtime, that I don't want to loose the live running session.
View 1 Replies
View Related
May 19, 2010
I have a Dvd of Slackware as well as an Iso image of Arch.
All i know about the difference between Slackware and Arch is the stability, i.e. Slackware is more stable than Arch !
Is that all or there is some other difference which should be considered ?
Which one out of the above two, should i go for and why ?
View 14 Replies
View Related
Jul 19, 2011
I'm having a little issue managing my iphone on archlinux+kde. This is the only way I got it to sync.
sudo killall usbmuxd
sudo usbmuxd -f -v
And then the only program that recognices the device is Clementine and it works quite fine. What I'd like to do is to make that automaticaly, so I wouldn't have to do it everytime i turn on my computer.
View 1 Replies
View Related
Mar 5, 2011
i hav already gone through the archlinux installation.now m stuck at installation of gui. but our college uses a cyberoam client. how to get connected to the internet to install xorg nd kde?
View 1 Replies
View Related
Jul 2, 2010
I have Debian Squeeze amd64 and i install into same hdd in free space archlinux sda3 /boot, sda4 /
How set grub from debian for boot the archlinux?
View 4 Replies
View Related