[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Jim Pazarena via Exim-users

this compiles fine on my FreeBSD 14.0 p6
but I have a failure on an alternate server. I have too many server 
differences to be able to pin this down. It is to do with my 
Local/Makefile entries:


LOOKUP_MYSQL_INCLUDE=-I/usr/local/include/mysql/mysql.h
LOOKUP_MYSQL_LIBS=-L/usr/local/lib/mysql -lmysqlclient
LOOKUP_MYSQL=yes

# LOOKUP_MYSQL_PC=mariadb
LOOKUP_MYSQL_PC=mysqlclient


on the successful 14.0p6, I have compiled mysql 80 from ports

on the failed server, it is 13.3 (altho I had the same issue on 14.1), 
but on this server, I installed mysql84, not by compiling from ports, 
but rather installing by "pkg install mysql81".


the exim compile error I get is:


 make
/bin/sh scripts/source_checks
../scripts/Configure-Makefile: pkg-config: not found
*** Missing pkg-config for package mysqlclient (for Exim LOOKUP_MYSQL_PC 
build option)

*** Error code 1

Stop.


It is unclear (to me) what exactly the above error message is pointing out?

Did the pkg install routine leave something out that the compile from 
ports did not ?


Thank you.

Jim



On 2024-06-14 5:04 AM, Odhiambo Washington via Exim-users wrote:

On Fri, Jun 14, 2024 at 2:11 PM Bernard Quatermass via Exim-announce <
exim-annou...@lists.exim.org> wrote:


Hi all,

Time for our next release candidate for 4.98.


This release candidate v4.98-RC1 is available as

   *  tarball: https://ftp.exim.org/pub/exim/exim4/test
   *  directly from Git: https://git.exim.org
  tag: exim-4.98-RC1

The signatures on the release candidate tarballs should be,

   *   key ID: 0xBCE58C8CE41F32DF
   *   Email: j...@exim.org

Please test and give feedback on the RC so that we can shake out issues
before 4.98 goes official.

The sourcebase is still open for feature additions at this point in the
release process.

Changes since 4.98RC0

   * build fixes for DISABLE_EVENTS, USE_TDB, USE_SQLITE
   * Feature under USE_SQLITE - transaction rather than file lock



Successfully compiled on FreeBSD 14.1-RELEASE with tdb.



--
Jim Pazarena e...@paz.bz
Haida Gwaii - British Columbia - Canada

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Ian Z via Exim-users
On Thu, Jun 20, 2024 at 10:03:23AM GMT, Jim Pazarena via Exim-users wrote:

> # LOOKUP_MYSQL_PC=mariadb
> LOOKUP_MYSQL_PC=mysqlclient
> 

> the exim compile error I get is:

> 
>  make
> /bin/sh scripts/source_checks
> ../scripts/Configure-Makefile: pkg-config: not found
> *** Missing pkg-config for package mysqlclient (for Exim LOOKUP_MYSQL_PC
> build option)
> *** Error code 1

> Stop.
> 

> It is unclear (to me) what exactly the above error message is
> pointing out?

Hi, for the build to work you need not only the pkg-config *data*
which is installed with the mysqlclient library, but *also* the
pkg-config program itself, which is likely a separate BSD port. I'm
guessing you omitted installing the latter on the failing server.

Does this help?

-- 
Ian

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Andrew C Aitchison via Exim-users

On Thu, 20 Jun 2024, Jim Pazarena via Exim-users wrote:


this compiles fine on my FreeBSD 14.0 p6
but I have a failure on an alternate server. I have too many server 
differences to be able to pin this down. It is to do with my 
Local/Makefile entries:


LOOKUP_MYSQL_INCLUDE=-I/usr/local/include/mysql/mysql.h
LOOKUP_MYSQL_LIBS=-L/usr/local/lib/mysql -lmysqlclient
LOOKUP_MYSQL=yes

# LOOKUP_MYSQL_PC=mariadb
LOOKUP_MYSQL_PC=mysqlclient


on the successful 14.0p6, I have compiled mysql 80 from ports

on the failed server, it is 13.3 (altho I had the same issue on 14.1), 
but on this server, I installed mysql84, not by compiling from ports, but 
rather installing by "pkg install mysql81".


the exim compile error I get is:


make
/bin/sh scripts/source_checks
../scripts/Configure-Makefile: pkg-config: not found
*** Missing pkg-config for package mysqlclient (for Exim LOOKUP_MYSQL_PC 
build option)

*** Error code 1

Stop.


It is unclear (to me) what exactly the above error message is pointing 
out?


Did the pkg install routine leave something out that the compile from 
ports did not ?


Did you install the -devel package as well as the user packages ?


--
Andrew C. Aitchison  Kendal, UK
   and...@aitchison.me.uk

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Ian Z via Exim-users
On Thu, Jun 20, 2024 at 06:30:19PM GMT, Andrew C Aitchison via Exim-users wrote:

> Did you install the -devel package as well as the user packages ?

Andrew, AFAIK this separation doesn't exist in the BSD port
system. The devel bits are installed with the library port along with
the user bits.

-- 
Ian

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Jim Pazarena via Exim-users




On 2024-06-20 10:24 AM, Ian Z via Exim-users wrote:

On Thu, Jun 20, 2024 at 10:03:23AM GMT, Jim Pazarena via Exim-users wrote:


# LOOKUP_MYSQL_PC=mariadb
LOOKUP_MYSQL_PC=mysqlclient




the exim compile error I get is:




  make
/bin/sh scripts/source_checks
../scripts/Configure-Makefile: pkg-config: not found
*** Missing pkg-config for package mysqlclient (for Exim LOOKUP_MYSQL_PC
build option)
*** Error code 1



Stop.




It is unclear (to me) what exactly the above error message is
pointing out?


Hi, for the build to work you need not only the pkg-config *data*
which is installed with the mysqlclient library, but *also* the
pkg-config program itself, which is likely a separate BSD port. I'm
guessing you omitted installing the latter on the failing server.

Does this help?



I have both pkg-1.21.3, and pkgconf-2.2.0,1 installed.
Also, to answer another helpful response, I see nothing with "devel" 
available that sounds applicable.


However, I went to ports/databases/mysql81-client
and compiled it. did *not* "make install".. just "make"

and then back to the exim RC1 compile. It compiled ! with a library 
conflict, but none-the-less .. it compiled.



gcc -o exim
/usr/local/bin/ld: warning: libssl.so.111, needed by 
/usr/local/lib/mysql/libmysqlclient.so, may conflict with libssl.so.12
/usr/local/bin/ld: warning: libcrypto.so.111, needed by 
/usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypto.so.12


>>> exim binary built


so, something seems to have been created just within that port make, 
which satisfied the exim compiler. Now.. to examine what the port 
compile did.


I very much appreciate the comments and assistance/suggestions.


--
Jim Pazarena e...@paz.bz
Haida Gwaii - British Columbia - Canada

--
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/


[exim] Re: [exim-announce] Exim 4.98-RC1 released

2024-06-20 Thread Ian Z via Exim-users
On Thu, Jun 20, 2024 at 11:07:20AM GMT, Jim Pazarena via Exim-users wrote:

> 
> gcc -o exim
> /usr/local/bin/ld: warning: libssl.so.111, needed by
> /usr/local/lib/mysql/libmysqlclient.so, may conflict with libssl.so.12
> /usr/local/bin/ld: warning: libcrypto.so.111, needed by
> /usr/local/lib/mysql/libmysqlclient.so, may conflict with libcrypto.so.12

> >>> exim binary built
> 

Another point to keep in mind when building on BSD systems, which is
so tiresome that it's in fact the main reason I stick with Linux for
now, is the distinction between "base system" libraries (those in
/usr/lib) and libraries installed via ports (in /usr/local/lib). Since
the "same" library can exist in both places one has to make sure the
expected one gets linked.

By the snippet above you may (?) be running into this.

-- 
Ian

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/