build error in libxslt on slackware64-13.37

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
telsin
Contributor
Posts: 125
Joined: Wed Jul 21, 2004 6:59 pm
Location: Madison, WI

build error in libxslt on slackware64-13.37

Post by telsin » Mon Jul 04, 2011 7:04 pm

Looks like LIBGCRYPT_CFLAGS in the libxslt makefile is blank instead of being "-I/usr/include", at least that's what I did to fix it. This was during the "main" build stage.

-Telsin

Code: Select all

[===== NOW BUILDING:	libxslt-1.1.26	=====]
	[fetch] complete for libxslt.
	[checksum] complete for libxslt.
	[extract] complete for libxslt.
	[patch] complete for libxslt.
	[configure] complete for libxslt.
 ==> Running make in work/main.d/libxslt-1.1.26
make[1]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
make  all-recursive
make[2]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
Making all in libxslt
make[3]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libxslt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libxslt'
Making all in libexslt
make[3]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libexslt'
//export/minimyth-svn/trunk/gar-minimyth/images/build/bin/bash ../libtool --tag=CC   --mode=compile x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I../libexslt -I.. -I../libxslt -I../libexslt -I/export/minimyth-svn/trunk/gar-minimyth/images/main/usr/include/libxml2 -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall    -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c -o crypto.lo crypto.c
libtool: compile:  x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. --pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c -o crypto.lo crypto.c
libtool: compile:  x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I../libexslt -I.. -I../libxslt -I../libexslt -I/export/minimyth-svn/trunk/gar-minimyth/images/main/usr/include/libxml2 -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c crypto.c  -fPIC -DPIC -o .libs/crypto.o
crypto.c:330:20: fatal error: gcrypt.h: No such file or directory
compilation terminated.
make[3]: *** [crypto.lo] Error 1
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libexslt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'

telsin
Contributor
Posts: 125
Joined: Wed Jul 21, 2004 6:59 pm
Location: Madison, WI

Re: build error in gtk+ on slackware64-13.37

Post by telsin » Mon Jul 04, 2011 9:24 pm

For some reason, it's trying to build the docs, even though it appears to have been properly configured with --disable-gtk-doc during the run.

My fix (to gar-minimyth/script/gtk/gtk/work/build.d/gtk+-2.24.4/Makefile) :

Code: Select all

-461 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs  m4macros build
+461 SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
First one was during the build stage, happened again in the main stage. Save fix, now on line 464 of the Makefile.
Last edited by telsin on Tue Jul 05, 2011 12:17 am, edited 2 times in total.

telsin
Contributor
Posts: 125
Joined: Wed Jul 21, 2004 6:59 pm
Location: Madison, WI

build error in glibc-rpcsrv on slackware64-13.37

Post by telsin » Mon Jul 04, 2011 11:35 pm

Failed during the main build stage trying to install header files with rpcgen. Looks like glibc-rpcgen-static was built during the build stage, but installed itself as rpcgen-static instead of rpcgen (as the installer in the main stage was looking for).

Symlinking rpcgen-static to rpcgen in gar-minimyth/images/build/usr/bin got me going again.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: build error in glibc-rpcsrv on slackware64-13.37

Post by Pablo » Tue Jul 05, 2011 12:43 am

telsin wrote:Failed during the main build stage trying to install header files with rpcgen. Looks like glibc-rpcgen-static was built during the build stage, but installed itself as rpcgen-static instead of rpcgen (as the installer in the main stage was looking for).

Symlinking rpcgen-static to rpcgen in gar-minimyth/images/build/usr/bin got me going again.
This bug should be fixed by SVN commit 8280.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: build error in libxslt on slackware64-13.37

Post by Pablo » Tue Jul 05, 2011 1:06 am

telsin wrote:Looks like LIBGCRYPT_CFLAGS in the libxslt makefile is blank instead of being "-I/usr/include", at least that's what I did to fix it. This was during the "main" build stage.

-Telsin

Code: Select all

[===== NOW BUILDING:	libxslt-1.1.26	=====]
	[fetch] complete for libxslt.
	[checksum] complete for libxslt.
	[extract] complete for libxslt.
	[patch] complete for libxslt.
	[configure] complete for libxslt.
 ==> Running make in work/main.d/libxslt-1.1.26
make[1]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
make  all-recursive
make[2]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
Making all in libxslt
make[3]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libxslt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libxslt'
Making all in libexslt
make[3]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libexslt'
//export/minimyth-svn/trunk/gar-minimyth/images/build/bin/bash ../libtool --tag=CC   --mode=compile x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I../libexslt -I.. -I../libxslt -I../libexslt -I/export/minimyth-svn/trunk/gar-minimyth/images/main/usr/include/libxml2 -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall    -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c -o crypto.lo crypto.c
libtool: compile:  x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. --pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c -o crypto.lo crypto.c
libtool: compile:  x86_64-minimyth-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -I../libexslt -I.. -I../libxslt -I../libexslt -I/export/minimyth-svn/trunk/gar-minimyth/images/main/usr/include/libxml2 -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -pipe -march=atom -mtune=atom -O2 -mfpmath=sse -ftree-vectorize -mmovbe -ftree-loop-distribution -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -flto -m64 -Wall -MT crypto.lo -MD -MP -MF .deps/crypto.Tpo -c crypto.c  -fPIC -DPIC -o .libs/crypto.o
crypto.c:330:20: fatal error: gcrypt.h: No such file or directory
compilation terminated.
make[3]: *** [crypto.lo] Error 1
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26/libexslt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/lib/libxslt/work/main.d/libxslt-1.1.26'
This should be fixed by SVN commit 8289.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: build error in gtk+ on slackware64-13.37

Post by Pablo » Tue Jul 05, 2011 1:19 am

telsin wrote:For some reason, it's trying to build the docs, even though it appears to have been properly configured with --disable-gtk-doc during the run.

My fix (to gar-minimyth/script/gtk/gtk/work/build.d/gtk+-2.24.4/Makefile) :

Code: Select all

-461 SUBDIRS = po po-properties $(SRC_SUBDIRS) docs  m4macros build
+461 SUBDIRS = po po-properties $(SRC_SUBDIRS) m4macros build
First one was during the build stage, happened again in the main stage. Save fix, now on line 464 of the Makefile.
Could you provide the error message?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

telsin
Contributor
Posts: 125
Joined: Wed Jul 21, 2004 6:59 pm
Location: Madison, WI

Re: build error in libxslt on slackware64-13.37

Post by telsin » Tue Jul 05, 2011 1:34 am

Had to revert to the original and re-run, here's the error where it happens:

Code: Select all

make[4]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/perf'
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/perf'
Making all in docs
make[3]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/docs'
Making all in tutorial
make[4]: Entering directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/docs/tutorial'
	   mkdir html/images; \
	   cp images/*.png html/images); \
	fi
Using catalogs: /etc/sgml/catalog
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/docs/tutorial/gtk-tut.sgml
mv: cannot stat `gtk-tut': No such file or directory
mkdir: cannot create directory `html/images': No such file or directory
cp: target `html/images' is not a directory
make[4]: *** [html] Error 1
make[4]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/docs/tutorial'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4/docs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/export/minimyth-svn/trunk/gar-minimyth/script/gtk/gtk/work/main.d/gtk+-2.24.4'
make: *** [build-work/main.d/gtk+-2.24.4/Makefile] Error 2

Post Reply