Menu

Compilation Problems

Help
dgmaxx
2006-04-03
2013-04-08
  • dgmaxx

    dgmaxx - 2006-04-03

    Hi,

    I am running fedora core 4 and xammp. I am trying to  add mod_auth_mysql to apache. I am not sure what I am doing wrong. Could someone tell me how to do it step by step as I am getting all sorts of errors.

    Thanks in advance

     
    • dgmaxx

      dgmaxx - 2006-04-03

      I got error 2.

      I ran the following make file:

      APXS      = /opt/lampp/bin/apxs
      APXSFLAGS =
      DSO   = mod_auth_mysql.so
      SRCS  = mod_auth_mysql.c
      HDRS  = mod_auth_mysql.h
      OPTS  = -I/opt/lampp/bin -L/opt/lampp/lib/mysql -lmysqlclient

      all: $(DSO)

      $(DSO): $(SRCS) $(HDRS)
          $(APXS) $(APXSFLAGS) -o $(DSO) $(OPTS) -c $(SRCS)

      install: $(DSO)
          $(APXS) $(APXSFLAGS) $(NAME) -i -A $(DSO)

      clean:
          -rm -f *.o $(DSO)

      and i get the following response:

      # make
      /opt/lampp/bin/apxs  -o mod_auth_mysql.so -I/opt/lampp/bin -L/opt/lampp/lib/mysq l -lmysqlclient -c mod_auth_mysql.c
      cannot open /opt/lampp/build/config_vars.mk: No such file or directory at /opt/l ampp/bin/apxs line 218.
      make: *** [mod_auth_mysql.so] Error 2

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.