Re: building on Debian

Ross Boylan <[email protected]> Tue, 08 Apr 2014 18:10:14 -0700
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <1397005814.15810.52.camel@localhost>
On Mon, 2014-04-07 at 10:42 -0400, Josef Fydl wrote:
> I am trying to build swill 6.6.4 on Linux box. apt-her did not bring all libraries and install 5.10 version , building packages gives me
> ERROR: Could not load/find library -lXpm.			*
> * Please install the XPM library and rerun configure.		*
> *								*
> * Please check the following:					*
> *								*
> *	- Do you have the development version of the library?	*
> *	- Is the library you have of the right architecture?	*
> *	- Could it be that other parts of X11 are missing?	*
> *	  (typically the case if -lXext is also missing)	*
> *								*
> *	Examine packages/xpce/src/config.log for details	*
> *	Linux users: check README.linux for dependencies	*
> *	(note that the exact package names vary between		*
> *	distributions and versions).
> 
> Does anybody has the experience, what has to be installed?
Look at the Build-Depend field in debian/control.  My slightly old one
(from 6.4.1) has
Build-Depends:
 debhelper (>= 9~),
 libncursesw5-dev,
 libreadline-dev,
 libgmp-dev,
 libjpeg8-dev,
 libx11-dev,
 libxpm-dev,
 libxt-dev,
 x11proto-core-dev,
 unixodbc-dev,
 default-jdk [alpha amd64 armel armhf i386 ia64 mips mipsel powerpc s390
s390x sparc],
 junit [alpha amd64 armel armhf i386 ia64 mips mipsel powerpc s390 s390x
sparc],
 libxft-dev,
 libxext-dev,
 libice-dev,
 libxinerama-dev,
 dctrl-tools,
 libarchive-dev,
 libssl-dev,
 zlib1g-dev,
# libunwind8-dev [ia64 i386 amd64 ppc64 powerpc armel armhf],
 dh-autoreconf (>= 6~),
 perl
Build-Conflicts: libunwind8-dev, libunwind7-dev [!ia64]