Julien,

1-.

Here goes...I setup a minimal debian squeeze VM and then did some 
apt-get work to make sure I could get and build the software:

Commandline: apt-get upgrade
Commandline: apt-get install gcc
Commandline: apt-get install subversion
Commandline: apt-get install libmysqlclient-dev
Commandline: apt-get install libssl-dev
Commandline: apt-get install libldap-dev

(You will most likely want to install and setup a MySQL server also.)

2-.

Fixed the compile problem by getting rid of the not used but conflicting 
public domain cgi.c getline function:

root@debian:~/unxsVZ# svn diff
Index: unxsBind/cgi.c
===================================================================
--- unxsBind/cgi.c      (revision 1774)
+++ unxsBind/cgi.c      (working copy)
@@ -113,23 +113,6 @@
      for(x=0;str[x];x++) if(str[x] == '+') str[x] = ' ';
  }

-int getline(char *s, int n, FILE *f) {
-    register int i=0;
-
-    while(1) {
-        s[i] = (char)fgetc(f);
-
-        if(s[i] == CR)
-            s[i] = fgetc(f);
-
-        if((s[i] == 0x4) || (s[i] == LF) || (i == (n-1))) {
-            s[i] = '\0';
-            return (feof(f) ? 1 : 0);
-        }
-        ++i;
-    }
-}
-
  int ind(char *s, char c) {
      register int x;

I commited this to our svn repo so you can just

# cd unxsVZ/unxsBind/

# svn update

and then

# make && make install

You will need to adapt the install paths to your Debian apache2 setup 
and other minor things.

Let me know how it goes.

Cheers,
Gary Wallis


-- 
AM Support Staff
Unixservice, LLC.
+1 310-356-6265
+1 630-206-9449
http://unixservice.com
155 S.E. 16th Ave
Portland, Oregon 97214
USA

No binding contract will be made between an employee of Unixservice and
a third party either verbally or by email, until a written document has
been signed on behalf of Unixservice. This e-mail is intended only for
the use of the addressees named above and may be confidential. If you
are not an addressee you must not use any information contained in nor
copy it nor inform any person other than the addressees of its existence
or contents.

_______________________________________________
unxsBind mailing list
[email protected]
https://lists.openisp.net/mailman/listinfo/unxsbind

Reply via email to