Re: jabberd-2.4.0 release

2016-05-27 Thread lists
Sorry for the top posting (smartphone) .

I though it would be interesting to look at how the program is compiled in 
/usr/ports. (As far as I know, just look in the work directory.) The 
environment is the same. ‎The configure file looked the same except for the rev 
difference. Baffling! 

Anyway, I can handle the flags on the configure file, but I don't understand 
this:
remember to update
 /etc/ld.so.conf too




  Original Message  
From: Tomasz Sterna
Sent: Friday, May 27, 2016 11:30 PM
To: jabberd2@lists.xiaoka.com
Reply To: jabberd2@lists.xiaoka.com
Subject: Re: jabberd-2.4.0 release

W dniu 27.05.2016, pią o godzinie 19∶14 -0700, użytkownik
li...@lazygranch.com napisał:
> Do you have both expat and its headers installed?
> Verify headers:
> /usr/local/include
> 
> So is this a flag or environment variable I need to set?

Yes.

$ ./configure --help
[...]
  --with-extra-include-path
  use additional include paths
  --with-extra-library-path
  use additional library paths (remember to
update
  /etc/ld.so.conf too)



-- 
smoku @ http://abadcafe.pl/ @ http://xiaoka.com/





Re: jabberd-2.4.0 release

2016-05-27 Thread Tomasz Sterna
W dniu 27.05.2016, pią o godzinie 19∶14 -0700, użytkownik
li...@lazygranch.com napisał:
> Do you have both expat and its headers installed?
> Verify headers:
> /usr/local/include
> 
> So is this a flag or environment variable I need to set?

Yes.

$ ./configure --help
[...]
  --with-extra-include-path
  use additional include paths
  --with-extra-library-path
  use additional library paths (remember to
update
  /etc/ld.so.conf too)



-- 
smoku @ http://abadcafe.pl/ @ http://xiaoka.com/



signature.asc
Description: This is a digitally signed message part


Re: jabberd-2.4.0 release

2016-05-27 Thread li...@lazygranch.com
On Fri, 27 May 2016 19:29:43 +0200
Tomasz Sterna  wrote:

> W dniu 27.05.2016, pią o godzinie 00∶09 -0700, użytkownik
> li...@lazygranch.com napisał:
> > Actually I had downloaded  jabberd-2.4.0.tar.gz. [...]
> > Doing some internet search, it is suggested the procedure should be:
> > aclocal
> > automake --add-missing
> > autoconf
> > ./configure
> 
> Using jabberd-2.4.0.tar.gz you do not need to do autotools stuff.
> Just:
> 
> ./configure
> make
> sudo make install
> 
> 
> > I get this error message:
> > --
> > checking for XML_ParserCreate in -lexpat... no
> > configure: error: Expat not found
> 
> configure cannot find Expat [1].
> Do you have both expat and its headers installed?
> 
> [1] http://www.libexpat.org/
> 

Verify headers:
-
# pwd
/usr/local/include
# ls expat*
expat.h expat_config.h  expat_external.h


Verify expat:
-
# pwd
/usr/local/lib
# ls libexpat*
libexpat.a  libexpat.so.1   libexpat.so.6
libexpat.so libexpat.so.1.6.0
--

So is this a flag or environment variable I need to set?





Re: jabberd-2.4.0 release

2016-05-27 Thread Tomasz Sterna
W dniu 27.05.2016, pią o godzinie 00∶09 -0700, użytkownik
li...@lazygranch.com napisał:
> Actually I had downloaded  jabberd-2.4.0.tar.gz. [...]
> Doing some internet search, it is suggested the procedure should be:
> aclocal
> automake --add-missing
> autoconf
> ./configure

Using jabberd-2.4.0.tar.gz you do not need to do autotools stuff.
Just:

./configure
make
sudo make install


> I get this error message:
> --
> checking for XML_ParserCreate in -lexpat... no
> configure: error: Expat not found

configure cannot find Expat [1].
Do you have both expat and its headers installed?

[1] http://www.libexpat.org/

-- 
 /o__ 
(_<^'  Honk if you are against noise pollution!



signature.asc
Description: This is a digitally signed message part


Re: jabberd-2.4.0 release

2016-05-27 Thread lists
I'm on freebsd 10.2

  Original Message  
From: Matěj Cepl
Sent: Friday, May 27, 2016 9:31 AM
To: jabberd2@lists.xiaoka.com
Reply To: jabberd2@lists.xiaoka.com
Subject: Re: jabberd-2.4.0 release

On 2016-05-27, 07:09 GMT, li...@lazygranch.com wrote:
> I get this error message:
> --
> checking for XML_ParserCreate in -lexpat... no
> configure: error: Expat not found
> --
> I have expat, so it is a matter of configure not finding it.

Do you have appropriate -dev (for Debian), or -devel (for 
Fedora/SUSE) package installed?

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8

Less is more or less more.
-- Y_Plentyn on #LinuxGER
(from fortunes -- I cannot resist :-)







Re: jabberd-2.4.0 release

2016-05-27 Thread Matěj Cepl
On 2016-05-27, 07:09 GMT, li...@lazygranch.com wrote:
> I get this error message:
> --
> checking for XML_ParserCreate in -lexpat... no
> configure: error: Expat not found
> --
> I have expat, so it is a matter of configure not finding it.

Do you have appropriate -dev (for Debian), or -devel (for 
Fedora/SUSE) package installed?

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
Less is more or less more.
   -- Y_Plentyn on #LinuxGER
  (from fortunes -- I cannot resist :-)





Re: jabberd-2.4.0 release

2016-05-27 Thread Adrian Reber
On Fri, May 27, 2016 at 12:09:41AM -0700, li...@lazygranch.com wrote:
> On Fri, 27 May 2016 06:22:01 +0200
> Tomasz Sterna  wrote:
> 
> > W dniu 26.05.2016, czw o godzinie 19∶46 -0700, użytkownik
> > li...@lazygranch.com napisał:
> > > This is from my attempt to compile the tar.gz file after doing
> > > autoreconf -i
> > > ./configure
> > > 
> > > I get
> > > ./configure: 12735: Syntax error: word unexpected (expecting ")")
> > 
> > 
> > Do not use the source labeled "Source code (tar.gz)" - this is plain
> > git source dump, not ready for direct consumption.
> > 
> > Use the source labeled jabberd-2.4.0.tar.xz or jabberd-2.4.0.tar.gz
> > (the ones with .asc signatures). These are prepared, with ./configure
> > script etc. generated.
> > 
> > 
> > 
> > P.S. or install autoconf-archive package
> > 
> 
> Actually I had downloaded  jabberd-2.4.0.tar.gz. However I downloaded
> the xz file. I also installed autoconf-archive, though I don't know how
> I'm supposed to use it.
> 
> Doing some internet search, it is suggested the procedure should be:
> aclocal
> automake --add-missing
> autoconf
> ./configure
> 
> I get this error message:
> --
> checking for XML_ParserCreate in -lexpat... no
> configure: error: Expat not found
> --
> I have expat, so it is a matter of configure not finding it.

As a reference: The Fedora package was also built from jabberd-2.4.0.tar.gz
without any problems.

https://kojipkgs.fedoraproject.org//packages/jabberd/2.4.0/1.fc25/data/logs/x86_64/build.log

Adrian


signature.asc
Description: PGP signature


Re: jabberd-2.4.0 release

2016-05-27 Thread li...@lazygranch.com
On Fri, 27 May 2016 06:22:01 +0200
Tomasz Sterna  wrote:

> W dniu 26.05.2016, czw o godzinie 19∶46 -0700, użytkownik
> li...@lazygranch.com napisał:
> > This is from my attempt to compile the tar.gz file after doing
> > autoreconf -i
> > ./configure
> > 
> > I get
> > ./configure: 12735: Syntax error: word unexpected (expecting ")")
> 
> 
> Do not use the source labeled "Source code (tar.gz)" - this is plain
> git source dump, not ready for direct consumption.
> 
> Use the source labeled jabberd-2.4.0.tar.xz or jabberd-2.4.0.tar.gz
> (the ones with .asc signatures). These are prepared, with ./configure
> script etc. generated.
> 
> 
> 
> P.S. or install autoconf-archive package
> 

Actually I had downloaded  jabberd-2.4.0.tar.gz. However I downloaded
the xz file. I also installed autoconf-archive, though I don't know how
I'm supposed to use it.

Doing some internet search, it is suggested the procedure should be:
aclocal
automake --add-missing
autoconf
./configure

I get this error message:
--
checking for XML_ParserCreate in -lexpat... no
configure: error: Expat not found
--
I have expat, so it is a matter of configure not finding it.


Actually I had downloaded  jabberd-2.4.0.tar.gz. However I downloaded
the xz file. I also installed autoconf-archive, though I don't know how
I'm supposed to use it.

Doing some internet search, it is suggested the procedure should be:
aclocal
automake --add-missing
autoconf
./configure

I get this error message:
--
checking for XML_ParserCreate in -lexpat... no
configure: error: Expat not found
--
I have expat, so it is a matter of configure not finding it.