LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-26-2015, 01:34 PM   #1
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
I'm having trouble compiling these two programs in compat32


Hello guys, I'm trying to compile these two programs for compatibility with 32bit.

First is the "speex" and the second is the "Cairo"

First of all I will describe how I'm doing.

1- According to the Slackware documentation you must use the command
Code:
. /etc/profile.d/32dev.sh
2- After being in 32bit mode I compile the program with the same .SlackBuild just adding in front "ARCH=i486"
In this case, an example
Code:
sudo ARCH=i486 ./speex.SlackBuild
3- After convert the i486 package for compat32 with the command
Code:
convertpkg-compat32 -i packagename
This is the procedure I use what has worked for various programs less for these two.

I will describe the errors so that you can help me solve the problem.

SPEEX (to compile the pulseaudio in 32bit)

Code:
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i486-slackware-linux-gnu
checking host system type... i486-slackware-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/speexdsp-1.2rc3':
configure: error: C compiler cannot create executables
See `config.log' for more details
eric@slackware (32bit):/home/backup/app/slackware/audio/source/compat32/speex$
CAIRO (because I use infinality-fonts then compiled freetype and fontconfig but also cairo failed)

Code:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/cairo-1.14.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.
make: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.
eric@slackware (32bit):/home/backup/app/slackware/bob-infinality/compat32/cairo$
"config.log from speex
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by speexdsp configure 1.2rc3, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --docdir=/usr/doc/speex-1.2rc2/dsp --enable-static=no --enable-sse --build=i486-slackware-linux

## --------- ##
## Platform. ##
## --------- ##

hostname = slackware
uname -m = x86_64
uname -r = 4.1.6
uname -s = Linux
uname -v = #2 SMP Fri Aug 21 01:28:50 CDT 2015

/usr/bin/uname -p = Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2482: checking whether make supports nested variables
configure:2499: result: yes
configure:2566: checking for a BSD-compatible install
configure:2634: result: /usr/bin/ginstall -c
configure:2645: checking whether build environment is sane
configure:2700: result: yes
configure:2851: checking for a thread-safe mkdir -p
configure:2890: result: /usr/bin/mkdir -p
configure:2897: checking for gawk
configure:2913: found /usr/bin/gawk
configure:2924: result: gawk
configure:2935: checking whether make sets $(MAKE)
configure:2957: result: yes
configure:3081: checking whether to enable maintainer-specific portions of Makefiles
configure:3090: result: yes
configure:3108: checking build system type
configure:3122: result: i486-slackware-linux-gnu
configure:3142: checking host system type
configure:3155: result: i486-slackware-linux-gnu
configure:3524: checking how to print strings
configure:3551: result: printf
configure:3584: checking for style of include used by make
configure:3612: result: GNU
configure:3683: checking for gcc
configure:3699: found /usr/bin/gcc
configure:3710: result: gcc
configure:3939: checking for C compiler version
configure:3948: gcc --version >&5
gcc (GCC) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3959: $? = 0
configure:3948: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.9.3/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.9.3/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --enable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/home/slackware/slackbuilds/gcc/antlr-runtime-3.4.jar --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.9.3 (GCC) 
configure:3959: $? = 0
configure:3948: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3959: $? = 1
configure:3948: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3959: $? = 1
configure:3979: checking whether the C compiler works
configure:4001: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /* confdefs.h */
 ^
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
configure:4005: $? = 1
configure:4043: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "speexdsp"
| #define PACKAGE_TARNAME "speexdsp"
| #define PACKAGE_VERSION "1.2rc3"
| #define PACKAGE_STRING "speexdsp 1.2rc3"
| #define PACKAGE_BUGREPORT "speex-dev@xiph.org"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4048: error: in `/tmp/SBo/speexdsp-1.2rc3':
configure:4050: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i486-slackware-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=i486 -mtune=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_FFT_CFLAGS_set=
ac_cv_env_FFT_CFLAGS_value=
ac_cv_env_FFT_LIBS_set=
ac_cv_env_FFT_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-slackware-linux
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i486-slackware-linux-gnu
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AS='as'
AUTOCONF='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoconf'
AUTOHEADER='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoheader'
AUTOMAKE='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing automake-1.14'
AWK='gawk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
BUILD_KISS_FFT_FALSE=''
BUILD_KISS_FFT_TRUE=''
BUILD_SMALLFT_FALSE=''
BUILD_SMALLFT_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=i486 -mtune=i686'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='dlltool'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FFT_CFLAGS=''
FFT_LIBS=''
FFT_PKGCONFIG=''
FGREP=''
GREP=''
INCLUDE_STDINT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT=''
MAINTAINER_MODE_FALSE='#'
MAINTAINER_MODE_TRUE=''
MAKEINFO='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/usr/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP='objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='speexdsp'
PACKAGE_BUGREPORT='speex-dev@xiph.org'
PACKAGE_NAME='speexdsp'
PACKAGE_STRING='speexdsp 1.2rc3'
PACKAGE_TARNAME='speexdsp'
PACKAGE_URL=''
PACKAGE_VERSION='1.2rc3'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SIZE16=''
SIZE32=''
SPEEXDSP_LT_AGE='5'
SPEEXDSP_LT_CURRENT='6'
SPEEXDSP_LT_REVISION='0'
STRIP=''
USIZE16=''
USIZE32=''
VERSION='1.2rc3'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i486-slackware-linux-gnu'
build_alias='i486-slackware-linux'
build_cpu='i486'
build_os='linux-gnu'
build_vendor='slackware'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='/usr/doc/speex-1.2rc2/dsp'
dvidir='${docdir}'
exec_prefix='NONE'
host='i486-slackware-linux-gnu'
host_alias=''
host_cpu='i486'
host_os='linux-gnu'
host_vendor='slackware'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/SBo/speexdsp-1.2rc3/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
src=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "speexdsp"
#define PACKAGE_TARNAME "speexdsp"
#define PACKAGE_VERSION "1.2rc3"
#define PACKAGE_STRING "speexdsp 1.2rc3"
#define PACKAGE_BUGREPORT "speex-dev@xiph.org"
#define PACKAGE_URL ""

configure: exit 77
"config.log" from Cairo
Code:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by cairo configure 1.14.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --sysconfdir=/etc --disable-gtk-doc --disable-quartz --disable-static --disable-win32 --disable-trace --enable-xlib --enable-xcb --enable-ps --enable-pdf --enable-svg --enable-tee --enable-ft --enable-gl --enable-gobject --enable-xml --build=i486-slackware-linux

## --------- ##
## Platform. ##
## --------- ##

hostname = slackware
uname -m = x86_64
uname -r = 4.1.6
uname -s = Linux
uname -v = #2 SMP Fri Aug 21 01:28:50 CDT 2015

/usr/bin/uname -p = Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:3205: checking for gcc
configure:3221: found /usr/bin/gcc
configure:3232: result: gcc
configure:3461: checking for C compiler version
configure:3470: gcc --version >&5
gcc (GCC) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3481: $? = 0
configure:3470: gcc -v >&5
Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/4.9.3/lto-wrapper
Target: x86_64-slackware-linux
Configured with: ../gcc-4.9.3/configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib64/python2.7/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --enable-install-libiberty --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib64/jvm/jre --with-jvm-root-dir=/usr/lib64/jvm --with-jvm-jar-dir=/usr/lib64/jvm/jvm-exports --with-arch-directory=amd64 --with-antlr-jar=/home/slackware/slackbuilds/gcc/antlr-runtime-3.4.jar --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
Thread model: posix
gcc version 4.9.3 (GCC) 
configure:3481: $? = 0
configure:3470: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3481: $? = 1
configure:3470: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3481: $? = 1
configure:3501: checking whether the C compiler works
configure:3523: gcc -O2 -march=i486 -mtune=i686   conftest.c  >&5
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /* confdefs.h */
 ^
conftest.c:1:0: error: CPU you selected does not support x86-64 instruction set
configure:3527: $? = 1
configure:3565: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "cairo"
| #define PACKAGE_TARNAME "cairo"
| #define PACKAGE_VERSION "1.14.2"
| #define PACKAGE_STRING "cairo 1.14.2"
| #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
| #define PACKAGE_URL "http://cairographics.org/"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3570: error: in `/tmp/cairo-1.14.2':
configure:3572: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -march=i486 -mtune=i686'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FONTCONFIG_CFLAGS_set=
ac_cv_env_FONTCONFIG_CFLAGS_value=
ac_cv_env_FONTCONFIG_LIBS_set=
ac_cv_env_FONTCONFIG_LIBS_value=
ac_cv_env_FREETYPE_CFLAGS_set=
ac_cv_env_FREETYPE_CFLAGS_value=
ac_cv_env_FREETYPE_LIBS_set=
ac_cv_env_FREETYPE_LIBS_value=
ac_cv_env_GOBJECT_CFLAGS_set=
ac_cv_env_GOBJECT_CFLAGS_value=
ac_cv_env_GOBJECT_LIBS_set=
ac_cv_env_GOBJECT_LIBS_value=
ac_cv_env_GTKDOC_DEPS_CFLAGS_set=
ac_cv_env_GTKDOC_DEPS_CFLAGS_value=
ac_cv_env_GTKDOC_DEPS_LIBS_set=
ac_cv_env_GTKDOC_DEPS_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBRSVG_CFLAGS_set=
ac_cv_env_LIBRSVG_CFLAGS_value=
ac_cv_env_LIBRSVG_LIBS_set=
ac_cv_env_LIBRSVG_LIBS_value=
ac_cv_env_LIBSPECTRE_CFLAGS_set=
ac_cv_env_LIBSPECTRE_CFLAGS_value=
ac_cv_env_LIBSPECTRE_LIBS_set=
ac_cv_env_LIBSPECTRE_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_POPPLER_CFLAGS_set=
ac_cv_env_POPPLER_CFLAGS_value=
ac_cv_env_POPPLER_LIBS_set=
ac_cv_env_POPPLER_LIBS_value=
ac_cv_env_VALGRIND_CFLAGS_set=
ac_cv_env_VALGRIND_CFLAGS_value=
ac_cv_env_VALGRIND_LIBS_set=
ac_cv_env_VALGRIND_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i486-slackware-linux
ac_cv_env_cogl_CFLAGS_set=
ac_cv_env_cogl_CFLAGS_value=
ac_cv_env_cogl_LIBS_set=
ac_cv_env_cogl_LIBS_value=
ac_cv_env_directfb_CFLAGS_set=
ac_cv_env_directfb_CFLAGS_value=
ac_cv_env_directfb_LIBS_set=
ac_cv_env_directfb_LIBS_value=
ac_cv_env_drm_CFLAGS_set=
ac_cv_env_drm_CFLAGS_value=
ac_cv_env_drm_LIBS_set=
ac_cv_env_drm_LIBS_value=
ac_cv_env_egl_CFLAGS_set=
ac_cv_env_egl_CFLAGS_value=
ac_cv_env_egl_LIBS_set=
ac_cv_env_egl_LIBS_value=
ac_cv_env_gl_CFLAGS_set=
ac_cv_env_gl_CFLAGS_value=
ac_cv_env_gl_LIBS_set=
ac_cv_env_gl_LIBS_value=
ac_cv_env_glesv2_CFLAGS_set=
ac_cv_env_glesv2_CFLAGS_value=
ac_cv_env_glesv2_LIBS_set=
ac_cv_env_glesv2_LIBS_value=
ac_cv_env_glib_CFLAGS_set=
ac_cv_env_glib_CFLAGS_value=
ac_cv_env_glib_LIBS_set=
ac_cv_env_glib_LIBS_value=
ac_cv_env_gtk_CFLAGS_set=
ac_cv_env_gtk_CFLAGS_value=
ac_cv_env_gtk_LIBS_set=
ac_cv_env_gtk_LIBS_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_pixman_CFLAGS_set=
ac_cv_env_pixman_CFLAGS_value=
ac_cv_env_pixman_LIBS_set=
ac_cv_env_pixman_LIBS_value=
ac_cv_env_png_CFLAGS_set=
ac_cv_env_png_CFLAGS_value=
ac_cv_env_png_LIBS_set=
ac_cv_env_png_LIBS_value=
ac_cv_env_png_REQUIRES_set=
ac_cv_env_png_REQUIRES_value=
ac_cv_env_qt_CFLAGS_set=
ac_cv_env_qt_CFLAGS_value=
ac_cv_env_qt_LIBS_set=
ac_cv_env_qt_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_env_xcb_CFLAGS_set=
ac_cv_env_xcb_CFLAGS_value=
ac_cv_env_xcb_LIBS_set=
ac_cv_env_xcb_LIBS_value=
ac_cv_env_xcb_shm_CFLAGS_set=
ac_cv_env_xcb_shm_CFLAGS_value=
ac_cv_env_xcb_shm_LIBS_set=
ac_cv_env_xcb_shm_LIBS_value=
ac_cv_env_xlib_CFLAGS_set=
ac_cv_env_xlib_CFLAGS_value=
ac_cv_env_xlib_LIBS_set=
ac_cv_env_xlib_LIBS_value=
ac_cv_env_xlib_xcb_CFLAGS_set=
ac_cv_env_xlib_xcb_CFLAGS_value=
ac_cv_env_xlib_xcb_LIBS_set=
ac_cv_env_xlib_xcb_LIBS_value=
ac_cv_env_xlib_xrender_CFLAGS_set=
ac_cv_env_xlib_xrender_CFLAGS_value=
ac_cv_env_xlib_xrender_LIBS_set=
ac_cv_env_xlib_xrender_LIBS_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AM_BACKSLASH=''
AM_DEFAULT_V=''
AM_DEFAULT_VERBOSITY=''
AM_V=''
AR=''
AS=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BFD_LIBS=''
BUILD_ANY2PPM_FALSE=''
BUILD_ANY2PPM_TRUE=''
BUILD_CXX_FALSE=''
BUILD_CXX_TRUE=''
BUILD_SPHINX_FALSE=''
BUILD_SPHINX_TRUE=''
CAIROBOILERPLATE_LIBS=''
CAIRO_CAN_TEST_PDF_SURFACE_FALSE=''
CAIRO_CAN_TEST_PDF_SURFACE_TRUE=''
CAIRO_CAN_TEST_PS_SURFACE_FALSE=''
CAIRO_CAN_TEST_PS_SURFACE_TRUE=''
CAIRO_CAN_TEST_SVG_SURFACE_FALSE=''
CAIRO_CAN_TEST_SVG_SURFACE_TRUE=''
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_FALSE=''
CAIRO_CAN_TEST_WIN32_PRINTING_SURFACE_TRUE=''
CAIRO_CFLAGS=''
CAIRO_HAS_BEOS_SURFACE_FALSE=''
CAIRO_HAS_BEOS_SURFACE_TRUE=''
CAIRO_HAS_COGL_SURFACE_FALSE=''
CAIRO_HAS_COGL_SURFACE_TRUE=''
CAIRO_HAS_DIRECTFB_SURFACE_FALSE=''
CAIRO_HAS_DIRECTFB_SURFACE_TRUE=''
CAIRO_HAS_DLSYM_FALSE=''
CAIRO_HAS_DLSYM_TRUE=''
CAIRO_HAS_DL_FALSE=''
CAIRO_HAS_DL_TRUE=''
CAIRO_HAS_DRM_SURFACE_FALSE=''
CAIRO_HAS_DRM_SURFACE_TRUE=''
CAIRO_HAS_EGL_FUNCTIONS_FALSE=''
CAIRO_HAS_EGL_FUNCTIONS_TRUE=''
CAIRO_HAS_FC_FONT_FALSE=''
CAIRO_HAS_FC_FONT_TRUE=''
CAIRO_HAS_FT_FONT_FALSE=''
CAIRO_HAS_FT_FONT_TRUE=''
CAIRO_HAS_GALLIUM_SURFACE_FALSE=''
CAIRO_HAS_GALLIUM_SURFACE_TRUE=''
CAIRO_HAS_GLESV2_SURFACE_FALSE=''
CAIRO_HAS_GLESV2_SURFACE_TRUE=''
CAIRO_HAS_GLX_FUNCTIONS_FALSE=''
CAIRO_HAS_GLX_FUNCTIONS_TRUE=''
CAIRO_HAS_GL_SURFACE_FALSE=''
CAIRO_HAS_GL_SURFACE_TRUE=''
CAIRO_HAS_GOBJECT_FUNCTIONS_FALSE=''
CAIRO_HAS_GOBJECT_FUNCTIONS_TRUE=''
CAIRO_HAS_INTERPRETER_FALSE=''
CAIRO_HAS_INTERPRETER_TRUE=''
CAIRO_HAS_LCOV_FALSE=''
CAIRO_HAS_LCOV_TRUE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_FALSE=''
CAIRO_HAS_MULTI_PAGE_SURFACES_TRUE=''
CAIRO_HAS_OS2_SURFACE_FALSE=''
CAIRO_HAS_OS2_SURFACE_TRUE=''
CAIRO_HAS_PDF_SURFACE_FALSE=''
CAIRO_HAS_PDF_SURFACE_TRUE=''
CAIRO_HAS_PNG_FUNCTIONS_FALSE=''
CAIRO_HAS_PNG_FUNCTIONS_TRUE=''
CAIRO_HAS_PS_SURFACE_FALSE=''
CAIRO_HAS_PS_SURFACE_TRUE=''
CAIRO_HAS_PTHREAD_FALSE=''
CAIRO_HAS_PTHREAD_TRUE=''
CAIRO_HAS_QT_SURFACE_FALSE=''
CAIRO_HAS_QT_SURFACE_TRUE=''
CAIRO_HAS_QUARTZ_FONT_FALSE=''
CAIRO_HAS_QUARTZ_FONT_TRUE=''
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_FALSE=''
CAIRO_HAS_QUARTZ_IMAGE_SURFACE_TRUE=''
CAIRO_HAS_QUARTZ_SURFACE_FALSE=''
CAIRO_HAS_QUARTZ_SURFACE_TRUE=''
CAIRO_HAS_SCRIPT_SURFACE_FALSE=''
CAIRO_HAS_SCRIPT_SURFACE_TRUE=''
CAIRO_HAS_SKIA_SURFACE_FALSE=''
CAIRO_HAS_SKIA_SURFACE_TRUE=''
CAIRO_HAS_SPECTRE_FALSE=''
CAIRO_HAS_SPECTRE_TRUE=''
CAIRO_HAS_SVG_SURFACE_FALSE=''
CAIRO_HAS_SVG_SURFACE_TRUE=''
CAIRO_HAS_SYMBOL_LOOKUP_FALSE=''
CAIRO_HAS_SYMBOL_LOOKUP_TRUE=''
CAIRO_HAS_TEE_SURFACE_FALSE=''
CAIRO_HAS_TEE_SURFACE_TRUE=''
CAIRO_HAS_TEST_SURFACES_FALSE=''
CAIRO_HAS_TEST_SURFACES_TRUE=''
CAIRO_HAS_TRACE_FALSE=''
CAIRO_HAS_TRACE_TRUE=''
CAIRO_HAS_VG_SURFACE_FALSE=''
CAIRO_HAS_VG_SURFACE_TRUE=''
CAIRO_HAS_WGL_FUNCTIONS_FALSE=''
CAIRO_HAS_WGL_FUNCTIONS_TRUE=''
CAIRO_HAS_WIN32_FONT_FALSE=''
CAIRO_HAS_WIN32_FONT_TRUE=''
CAIRO_HAS_WIN32_SURFACE_FALSE=''
CAIRO_HAS_WIN32_SURFACE_TRUE=''
CAIRO_HAS_XCB_SHM_FUNCTIONS_FALSE=''
CAIRO_HAS_XCB_SHM_FUNCTIONS_TRUE=''
CAIRO_HAS_XCB_SURFACE_FALSE=''
CAIRO_HAS_XCB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_SURFACE_FALSE=''
CAIRO_HAS_XLIB_SURFACE_TRUE=''
CAIRO_HAS_XLIB_XCB_FUNCTIONS_FALSE=''
CAIRO_HAS_XLIB_XCB_FUNCTIONS_TRUE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_FALSE=''
CAIRO_HAS_XLIB_XRENDER_SURFACE_TRUE=''
CAIRO_HAS_XML_SURFACE_FALSE=''
CAIRO_HAS_XML_SURFACE_TRUE=''
CAIRO_LDFLAGS=''
CAIRO_LIBS=''
CAIRO_LIBTOOL_VERSION_INFO=''
CAIRO_NONPKGCONFIG_CFLAGS=''
CAIRO_NONPKGCONFIG_LIBS=''
CAIRO_RELEASE_STATUS=''
CAIRO_REQUIRES=''
CAIRO_TEST_MODE=''
CAIRO_TEST_UNDEFINED_LDFLAGS=''
CAIRO_VERSION_MAJOR=''
CAIRO_VERSION_MICRO=''
CAIRO_VERSION_MINOR=''
CAIRO_VERSION_SONUM=''
CC='gcc'
CCDEPMODE=''
CFLAGS='-O2 -march=i486 -mtune=i686'
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
DISABLE_SOME_FLOATING_POINT_FALSE=''
DISABLE_SOME_FLOATING_POINT_TRUE=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
EXEEXT=''
FGREP=''
FIND=''
FONTCONFIG_CFLAGS=''
FONTCONFIG_LIBS=''
FREETYPE_CFLAGS=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
GOBJECT_CFLAGS=''
GOBJECT_LIBS=''
GREP=''
GS=''
GTKDOC_CHECK=''
GTKDOC_CHECK_PATH=''
GTKDOC_DEPS_CFLAGS=''
GTKDOC_DEPS_LIBS=''
GTKDOC_MKPDF=''
GTKDOC_REBASE=''
GTK_DOC_BUILD_HTML_FALSE=''
GTK_DOC_BUILD_HTML_TRUE=''
GTK_DOC_BUILD_PDF_FALSE=''
GTK_DOC_BUILD_PDF_TRUE=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_DOC_USE_REBASE_FALSE=''
GTK_DOC_USE_REBASE_TRUE=''
HAVE_GTK_DOC_FALSE=''
HAVE_GTK_DOC_TRUE=''
HAVE_GTK_FALSE=''
HAVE_GTK_TRUE=''
HAVE_PTHREAD_FALSE=''
HAVE_PTHREAD_TRUE=''
HAVE_REAL_PTHREAD_FALSE=''
HAVE_REAL_PTHREAD_TRUE=''
HAVE_SHM_FALSE=''
HAVE_SHM_TRUE=''
HTML_DIR=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_STRIP_PROGRAM=''
LD=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBRSVG_CFLAGS=''
LIBRSVG_LIBS=''
LIBS=''
LIBSPECTRE_CFLAGS=''
LIBSPECTRE_LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LTP=''
LTP_GENHTML=''
MAKEINFO=''
MANIFEST_TOOL=''
MKDIR_P=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_WIN32_FALSE=''
OS_WIN32_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='http://bugs.freedesktop.org/enter_bug.cgi?product=cairo'
PACKAGE_NAME='cairo'
PACKAGE_STRING='cairo 1.14.2'
PACKAGE_TARNAME='cairo'
PACKAGE_URL='http://cairographics.org/'
PACKAGE_VERSION='1.14.2'
PATH_SEPARATOR=':'
PKGCONFIG_REQUIRES=''
PKG_CONFIG=''
POPPLER_CFLAGS=''
POPPLER_LIBS=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_EXT=''
SHM_LIBS=''
SHTOOL=''
STRIP=''
VALGRIND_CFLAGS=''
VALGRIND_LIBS=''
VERSION=''
XARGS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='${exec_prefix}/bin'
build='i486-slackware-linux'
build_alias='i486-slackware-linux'
build_cpu=''
build_os=''
build_vendor=''
cogl_CFLAGS=''
cogl_LIBS=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
directfb_CFLAGS=''
directfb_LIBS=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
drm_CFLAGS=''
drm_LIBS=''
dvidir='${docdir}'
egl_CFLAGS=''
egl_LIBS=''
exec_prefix='NONE'
gallium_DIR=''
gl_CFLAGS=''
gl_LIBS=''
glesv2_CFLAGS=''
glesv2_LIBS=''
glib_CFLAGS=''
glib_LIBS=''
gtk_CFLAGS=''
gtk_LIBS=''
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh=''
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lzo_LIBS=''
mandir='/usr/man'
mesa_DIR=''
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
pixman_CFLAGS=''
pixman_LIBS=''
png_CFLAGS=''
png_LIBS=''
png_REQUIRES=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
pthread_CFLAGS=''
pthread_LIBS=''
qt_CFLAGS=''
qt_LIBS=''
real_pthread_CFLAGS=''
real_pthread_LIBS=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
shm_LIBS=''
skia_DIR=''
sysconfdir='/etc'
target_alias=''
xcb_CFLAGS=''
xcb_LIBS=''
xcb_shm_CFLAGS=''
xcb_shm_LIBS=''
xlib_CFLAGS=''
xlib_LIBS=''
xlib_xcb_CFLAGS=''
xlib_xcb_LIBS=''
xlib_xrender_CFLAGS=''
xlib_xrender_LIBS=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "cairo"
#define PACKAGE_TARNAME "cairo"
#define PACKAGE_VERSION "1.14.2"
#define PACKAGE_STRING "cairo 1.14.2"
#define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?product=cairo"
#define PACKAGE_URL "http://cairographics.org/"

configure: exit 77

Last edited by Candelabrus; 08-26-2015 at 01:55 PM.
 
Old 08-26-2015, 01:40 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by Candelabrus View Post
SPEEX

Code:
configure: error: in `/tmp/SBo/speexdsp-1.2rc3':
configure: error: C compiler cannot create executables
See `config.log' for more details
Check that file "config.log" inside the source directory and search for the text "C compiler cannot create executables". Usually the reason for the error is clearly stated in that file (usually a missing package).

CAIRO

Code:
configure: error: in `/tmp/cairo-1.14.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
[/QUOTE]
Same suggestion.
 
Old 08-26-2015, 01:53 PM   #3
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Hi Alien, thanks for fast reply.

I posted the config.log (Cairo and Speex) but did not understand where the error is.

Last edited by Candelabrus; 08-26-2015 at 01:56 PM.
 
Old 08-26-2015, 02:13 PM   #4
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I have no experience compiling 32bit programs on x86_64 (I prefer just using a 32bit VM for compiling, move the packages over to my 64bit system, run the compat32 script and then install), but it might be related to these errors in your config.log

Code:
AUTOCONF='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoconf'
AUTOHEADER='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoheader'
AUTOMAKE='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing automake-1.14'
Do you have compat32 versions of automake and autoconf installed?
 
Old 08-26-2015, 02:27 PM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Did you look at this?

http://slackbuilds.org/faq/#multilib
 
Old 08-26-2015, 03:01 PM   #6
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by bassmadrigal View Post
I have no experience compiling 32bit programs on x86_64 (I prefer just using a 32bit VM for compiling, move the packages over to my 64bit system, run the compat32 script and then install), but it might be related to these errors in your config.log

Code:
AUTOCONF='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoconf'
AUTOHEADER='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing autoheader'
AUTOMAKE='${SHELL} /tmp/SBo/speexdsp-1.2rc3/missing automake-1.14'
Do you have compat32 versions of automake and autoconf installed?
I tried one day to install the 32bit version of Slackware to do just that but did not succeed.

I did not install these packages you mentioned, how do I install?
 
Old 08-26-2015, 03:09 PM   #7
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
I think it's your 'sudo' that is cancelling the effect of '. /etc/profile.d/32dev.sh'. In Slackware we usually don't use sudo like that. Do it like this:
Code:
su -
. /etc/profile.d/32dev.sh
ARCH=i486 ./speex.SlackBuild

Last edited by 55020; 08-26-2015 at 03:25 PM.
 
Old 08-26-2015, 03:50 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Actually I wonder if you have the multilib version of gcc and glibc installed.
What is the output of:
Code:
ls /var/log/packages/gcc*
and
Code:
ls /var/log/packages/glibc*
 
Old 08-26-2015, 03:57 PM   #9
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by 55020 View Post
I think it's your 'sudo' that is cancelling the effect of '. /etc/profile.d/32dev.sh'. In Slackware we usually don't use sudo like that. Do it like this:
Code:
su -
. /etc/profile.d/32dev.sh
ARCH=i486 ./speex.SlackBuild
You are right :-)
Speex was compiled.

Cairo also began compiling, really the error was sudo, but appeared another problem here Cairo.

Code:
make[4]: Entrando no diretório `/tmp/cairo-1.14.2/test'
  CCLD     any2ppm
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../libpoppler-glib.so when searching for -lpoppler-glib
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpoppler-glib
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../librsvg-2.so when searching for -lrsvg-2
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -lrsvg-2
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../libspectre.so when searching for -lspectre
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -lspectre
collect2: error: ld returned 1 exit status
make[4]: ** [any2ppm] Erro 1
make[4]: Saindo do diretório `/tmp/cairo-1.14.2/test'
make[3]: ** [all-recursive] Erro 1
make[3]: Saindo do diretório `/tmp/cairo-1.14.2/test'
make[2]: ** [all] Erro 2
make[2]: Saindo do diretório `/tmp/cairo-1.14.2/test'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/tmp/cairo-1.14.2'
make: ** [all] Erro 2
root@slackware (32bit):/home/backup/app/slackware/bob-infinality/compat32/cairo#
 
Old 08-26-2015, 04:03 PM   #10
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Candelabrus View Post
appeared another problem here Cairo.
Good! The Cairo problem can probably be solved how Dugan suggested: add this to the SlackBuild, see http://slackbuilds.org/faq/#multilib
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
 
Old 08-26-2015, 04:26 PM   #11
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Quote:
Originally Posted by Alien Bob View Post
Actually I wonder if you have the multilib version of gcc and glibc installed.
What is the output of:
Code:
ls /var/log/packages/gcc*
and
Code:
ls /var/log/packages/glibc*

Code:
eric@slackware ~ ls /var/log/packages/gcc*
/var/log/packages/gcc-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-g++-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-gfortran-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-gnat-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-go-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-java-4.9.3_multilib-x86_64-1alien
/var/log/packages/gcc-objc-4.9.3_multilib-x86_64-1alien
/var/log/packages/gccmakedep-1.0.3-noarch-1
and

Code:
eric@slackware ~ ls /var/log/packages/glibc*
/var/log/packages/glibc-2.22_multilib-x86_64-1alien
/var/log/packages/glibc-i18n-2.22_multilib-x86_64-1alien
/var/log/packages/glibc-profile-2.22_multilib-x86_64-1alien
/var/log/packages/glibc-solibs-2.22_multilib-x86_64-1alien
/var/log/packages/glibc-zoneinfo-2015f_multilib-noarch-1alien


---------- Post added 08-26-15 at 06:27 PM ----------

Quote:
Originally Posted by 55020 View Post
Good! The Cairo problem can probably be solved how Dugan suggested: add this to the SlackBuild, see http://slackbuilds.org/faq/#multilib
Code:
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
Unfortunately, the same error.
 
Old 08-26-2015, 05:22 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
You know, for compiling 32 bit programs on a 64-bit (multilib or otherwise) system, I just use a 32-bit chroot. This guide got me started:

http://docs.slackware.com/howtos:gen...ackware_chroot
 
Old 08-26-2015, 05:35 PM   #13
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Candelabrus View Post
Unfortunately, the same error.
Oh, yes, of course, what was I thinking? Sorry!

You will need to create and install your own compat32 packages of poppler and librsvg and libspectre, using convertpkg-compat32. Download each package from an i486 Slackware mirror, and run
Code:
convertpkg-compat32 -i <package>.txz
upgradepkg --install-new /tmp/<package>compat32.txz
Then you will need to modify cairo.SlackBuild -- change this line from

Code:
  --libdir=/usr/lib${LIBDIRSUFFIX} \
to

Code:
  --libdir=/usr/lib \
and then you should be able to build cairo. (probably.)
(If that doesn't work, maybe it would be easier to use a virtual machine?)
 
1 members found this post helpful.
Old 08-26-2015, 05:38 PM   #14
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Original Poster
Rep: Reputation: 26
Ohh god, is very hard to have 32bits version on Slackware 64 :-(

Now I could compile and convert the speex and later the json-c pulseaudio decided to give me problems :-(

I used this guide
http://docs.slackware.com/howtos:multimediaulseaudio

"--disable-x11 --without-cap"
and
"PKG_CONFIG_PATH=/usr/lib/pkgconfig PKG_CONFIR_LIBDIR=/usr/lib/pkgconfig LDFLAGS="-L/usr/lib" ./pulseaudio.SlackBuild"

And i give this error

Code:
CCLD     libpulsecore-foreign.la
  CCLD     libpulsecore-6.0.la
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../libtdb.so when searching for -ltdb
/usr/lib64/gcc/x86_64-slackware-linux/4.9.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -ltdb
collect2: error: ld returned 1 exit status
make[3]: ** [libpulsecore-6.0.la] Erro 1
make[3]: Saindo do diretrio `/tmp/SBo/pulseaudio-6.0/src'
make[2]: ** [check] Erro 2
make[2]: Saindo do diretrio `/tmp/SBo/pulseaudio-6.0/src'
make[1]: ** [check-recursive] Erro 1
make[1]: Saindo do diretrio `/tmp/SBo/pulseaudio-6.0'
make: ** [check] Erro 2
root@slackware (32bit):/home/backup/app/slackware/audio/source/compat32/pulseaudio#
 
Old 08-26-2015, 05:40 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I think the "cannot find -ltdb" is a problem with the Samba package in slackware-current.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Programs Ian D Linux - Newbie 5 07-19-2008 02:37 AM
Compiling Programs Faxanadu Linux - Software 3 05-30-2005 01:51 AM
Compiling Programs Thorrn4 Linux - Software 6 03-26-2005 12:25 AM
I need help with compiling my C++ programs. bitessy Programming 3 02-23-2004 06:07 PM
Compiling Programs mike35 Linux - Newbie 2 10-22-2003 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration