pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Error trying to compile databases/mysql57-client



Am 18.08.2019 um 21:19 schrieb Christopher Pinon:
> Hi,
>
> I'm on NetBSD-8.1 amd64, using an updated pkgsrc stable.
>
> I was trying to compile mysql57-client (more precisely, v5.7.27) as a
> dependency of mysql57-server and the compilation stops early when the
> file "my_global.h" isn't found:
>
>
> ===> Building for mysql-client-5.7.27
> [  1%] Building C object strings/CMakeFiles/strings.dir/bchange.c.o
> /mnt/usr/work/databases/mysql57-client/work/mysql-5.7.27/strings/bchange.c:27:23: fatal error: my_global.h: No such file or directory

First things first: does
/mnt/usr/work/databases/mysql57-client/work/mysql-5.7.27/include/my_global.h
exist? I suppose it does.

Next: what was the _actual_ command line of the compiler? The file
/mnt/usr/work/databases/mysql57-client/work/.work.log contains "input"
lines marked with "[*]" and output lines marked with "<.>". Search for
"bchange", there should be exactly one entry.

The "<.>" line in my .work.log contains (among others) the option
-I/home/rillig/tmp/pkgsrc.work/databases/mysql57-client/work/mysql-5.7.27/include;
there should be a similar option in your .work.log. My guess is that
this option is missing, which would explain the above error message. I
don't know _why_ this option would be missing though.


Home | Main Index | Thread Index | Old Index