-
jfqd1
jperkin: Is there a reason why p5-DBD-percona80 vanished from trunk?
-
jperkin
-
jfqd1
So zlib is the error? "Can't link/include C library 'zlib', aborting."
-
jperkin
has it only just disappeared? it hasn't been updated in ages, and that kind of error wouldn't normally just suddenly start happening
-
jperkin
would only be explained by some intermediary somehow losing -lz in a pkg-config or something
-
jperkin
will fix it anyway
-
jfqd1
The problem is that I depend on it for a script creating tables fpr zabbix mysql. Tried cpanm DBD::mysql and this failed too with the same error. But I have no idea wha, cause zlib is installed.
-
jperkin
will take a swing at updating percona too, usually get them all up-to-date ready for the next Q4
-
jperkin
default continues to be mariadb and nia already updated those to the latest this week
-
jfqd1
jperkin: Thx, that would we great!
-
jfqd1
we=be
-
jperkin
will also add that to the required pkgs list so it won't disappear again
-
jfqd1
jperkin: Thx!
-
jfqd1
jperkin: Tried to build it in the meantime with: cpanm DBD::mysql --configure-args="--libs='-L/opt/local/lib -R/opt/local/lib -lz -lssl -lcrypto -lperconaclient'" but this failed with the error "Can't link/include C library 'perconaclient', aborting.". Strange cause libperconaclient is in /opt/local/lib. Do you have an idea how to fix it?
-
jperkin
you'd need to check the log for the actual error
-
jfqd1
This comes out of the build log and was the only error, so strange.
-
jperkin
if the log contains the actual command used then you could re-run it manually to see what errors you get
-
jperkin
"can't link, aborting" on its own is pretty much useless
-
jfqd1
ok, thx, will try to figure out the compile commands
-
jfqd1
jperkin: fetched the package from cpan, tried perl Makefile.PL which failed; then created the Makefile without -lperconaclient: perl Makefile.PL -v --libs="-L/opt/local/lib -lmysqllient -lz -lssl -lcrypto -lresolv -lnsl -lm" --cflags="-I/opt/local/include/mysql"; did gmake to get the compile and linker output and rerun the linker script, this time with adding -lperconaclient. So strangeā¦
-
jfqd1
Installed it with gmake install and it is working now.
-
jperkin
yeh odd, I'll see if I get anything more useful when I build it in pkgsrc, the advantage I have is that all compiler commands are wrapped and logged so I can see exactly what it's trying to do
-
jperkin
I just updated percona to 8.0.39 and retried p5-DBD-mysql and it built fine, so maybe they had something broken in their .pc or something
-
jperkin
will see for certain in the next build
-
jfqd1
jperkin: Thx a lot! will try it as soon as available in trunk :-)