libc-dev
libc6-dev
manpages-dev
autoconf
automake
libtool
flex
bison
gdb
gcc-doc
# apt-get install libc-dev libc6-dev manpages-dev autoconf automake libtool flex bison gdb gcc-doc
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge6) but 2.3.6.ds1-13 is to be installed
# cat sources.list
# main sources
deb http://debian.intergenia.de/debian/ sarge main contrib non-free
deb-src http://debian.intergenia.de/debian/ sarge main contrib non-free
deb http://www.backports.org/debian sarge-backports main contrib non-free
# non-us
deb http://debian.intergenia.de/debian-non-US/ sarge/non-US main contrib non-free
deb-src http://debian.intergenia.de/debian-non-US/ sarge/non-US main contrib non-free
# security
deb http://debian.intergenia.de/debian-security/ sarge/updates main contrib non-free
deb-src http://debian.intergenia.de/debian-security/ sarge/updates main contrib non-free
# Dotdeb
deb http://dotdeb.netmirror.org/ sarge all
deb-src http://dotdeb.netmirror.org/ sarge all
# plesk
deb http://autoinstall.plesk.com/debian/PSA_8.2.0 sarge all
apt-get install libmysqlclient12-dev libssl-dev
# apt-get install libmysqlclient12-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmysqlclient12-dev: Depends: zlib1g-dev but it is not going to be installed
E: Broken packages
# apt-get install libmysqlclient12-dev libssl-dev zlib1g-dev
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zlib1g-dev: Depends: libc6-dev but it is not going to be installed or
libc-dev
E: Broken packages
Konkret:libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge6) but 2.3.6.ds1-13 is to be installed
# dpkg -l|grep libc6
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
# aptitude install libc6-dev
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
E: Unable to correct problems, you have held broken packages.
E: Unable to correct dependencies, some packages cannot be installed
E: Unable to resolve some dependencies!
Some packages had unmet dependencies. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.2.ds1-22sarge6) but 2.3.6.ds1-13 is installed.
# aptitude download libc6
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
E: No downloadable files for libc6 version 2.3.6.ds1-13; perhaps it is a local or obsolete package?
# aptitude download libc6-dev
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Get:1 http://debian.intergenia.de sarge/main libc6-dev 2.3.2.ds1-22sarge6 [2532kB]
Fetched 1B in 0s (9B/s)
# make
[...]
> binm3+df
chmod 755 binm3+df
./compile spfquery.c
./load spfquery spf.o ip.o ipme.o ipalloc.o strsalloc.o \
now.o dns.o datetime.a stralloc.a alloc.a str.a substdio.a \
case.a error.a fs.a `cat dns.lib` `cat socket.lib`
# ls -l | grep -cv '\..\{1,12\}$\|conf-\|make-\|Makefile\|warn-\|[[:upper:]].$'
84
Das Ergebnis des "make" sieht richtig aus. Warum hast Du nicht die "./install.sh" benutzt?Wenn ich jetzt aber den Kontrollbefehl wie ihn ClausVB auzeigt ausführe bekomme ich nicht 85 zurück sondern 84!!
# tail -f /tmp/greylist_dbg.txt
protocol = notneeded4qmail bart@der.com
--------
protocol = notneeded4qmail amd-hammer@gmx.de
--------
protocol = notneeded4qmail webmaster@serversupportforum.de
--------
# tail -f /tmp/greylist_dbg.txt
protocol = notneeded4qmail tmeonippkk@aahp.org
--------
protocol = notneeded4qmail MICHIEpgi@aquariussoft.com
--------
protocol = notneeded4qmail jr@cortexpharm.com
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail dagmarmohammed@ausrichtung.ch
--------
protocol = notneeded4qmail webmaster@serversupportforum.de
--------
# mysql -u greylist -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 709248 to server version: 4.0.18
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> USE qmail;
Database changed
mysql> CREATE TABLE test(datum DATE);
Query OK, 0 rows affected (0.00 sec)
mysql> DROP TABLE test;
Query OK, 0 rows affected (0.03 sec)
mysql> SHOW TABLES;
+-----------------+
| Tables_in_qmail |
+-----------------+
| relaytofrom |
+-----------------+
1 row in set (0.01 sec)
mysql> SELECT * FROM relaytofrom;
# mysql -u greylist -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4393 to server version: 4.1.15-Debian_0.dotdeb.4-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use qmail;
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> create table test(datum DATE);
Query OK, 0 rows affected (0.01 sec)
mysql> drop table test;
Query OK, 0 rows affected (0.00 sec)
mysql> SHOW TABLES;
+-----------------+
| Tables_in_qmail |
+-----------------+
| relaytofrom |
+-----------------+
1 row in set (0.00 sec)
mysql> SELECT * FROM relaytofrom;
Empty set (0.00 sec)
mysql> quit
Unter Debian muß man noch das Makefile anpassen:
edit Makefile
#ersetzte alle Vorkommen von "/usr/lib/mysql/libmysqlclient.a"
#durch "/usr/lib/libmysqlclient.a"
# apt-get install libmysqlclient12-dev libssl-dev
Reading Package Lists... Done
Building Dependency Tree... Done
libmysqlclient12-dev is already the newest version.
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Ich wollte sichergehen, dass Du Schreibrechte für die DB hast. .Danke für die schnelle Antwort. Abgesehn von der Tatsache, dass ich nicht verstehe warum du willst, dass ich eine tabelle test erst anlege und dann lösche hab ich trotzdem mal alles so gemacht wie gewünscht.
MOD: Full-Quote entfernt!
# tail -f /tmp/greylist_dbg.txt
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail jraine68@avantages.net
--------
protocol = notneeded4qmail dagmarmohammed@ausrichtung.ch
--------
protocol = notneeded4qmail webmaster@serversupportforum.de
Nein. Wenn Huschis Anleitung (siehe Post oben) auch nicht klappt, bin ich ratlos. Du wirkst jetzt auch nicht wie jemand, der ein "FLUSH PRIVILEGES;" vergisst bzw. meine "qmail.sql" nicht verwendet, aber irgendwas scheinst Du zu vergessen ...Datenbank ist weiterhin leer! Noch irgendwelche ideen?
[COLOR="DarkRed"]//[/COLOR] if(mysql) mysql_close(mysql);
[COLOR="DarkRed"]
if (dbglog) {
if (mysql) {
if (mysql_errno(mysql))
fprintf(dbglog, "MySQL-Error: %s\n", mysql_error(mysql));
mysql_close(mysql);
} else {
fprintf(dbglog, "MySQL-Error: %s\n", "cannot initialize!");
}[/COLOR]
fprintf(dbglog, "--------\n");
fclose(dbglog);
}
# tail -f /tmp/greylist_dbg.txt
--------
protocol = notneeded4qmail ufn@br.egroups.com
MySQL-Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
--------
protocol = notneeded4qmail saikumar@myrealbox.com
MySQL-Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
--------
protocol = notneeded4qmail santos.dalzell@uher.at
MySQL-Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
--------
protocol = notneeded4qmail lambert@talk21.com
MySQL-Error: Client does not support authentication protocol requested by server; consider upgrading MySQL client
--------
We use essential cookies to make this site work, and optional cookies to enhance your experience.