You are not logged in.

#1 2016-08-14 17:12:33

zwa
Member
Registered: 2005-12-05
Posts: 105

Help with lib32-gtk

Hi, I am having problems with this package, it does not build:

https://aur.archlinux.org/packages/lib32-gtk/

checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.8... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB was incorrectly installed
*** or that you have moved GLIB since it was installed. In the latter case, you
*** may want to edit the glib-config script: /usr/bin/glib-config
configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB
*** is always available from ftp://ftp.gtk.org/.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build lib32-gtk.
==> Restart building lib32-gtk ? [y/N]

I have contacted the package maintainer but his help has not resulted in a solution.
Any help will be appreciated.
Thanks.

Offline

#2 2016-08-14 17:42:19

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 259
Website

Re: Help with lib32-gtk

What is your version of glib?

Offline

#3 2016-08-14 22:24:17

zwa
Member
Registered: 2005-12-05
Posts: 105

Re: Help with lib32-gtk

local/glib 1.2.10-14
local/glib2 2.48.1-1
local/lib32-glib2 2.48.1-1
local/glibc 2.24-2
local/lib32-glibc 2.24-2
local/lib32-glib 1.2.10-2

Offline

#4 2016-08-14 23:28:19

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Help with lib32-gtk

See the file config.log for the
*** exact error that occured.

please post that config.log .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2016-08-16 00:56:38

zwa
Member
Registered: 2005-12-05
Posts: 105

Re: Help with lib32-gtk

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:661: checking for a BSD compatible install
configure:714: checking whether build environment is sane
configure:771: checking whether make sets ${MAKE}
configure:810: checking for working aclocal
configure:823: checking for working autoconf
configure:836: checking for working automake
configure:849: checking for working autoheader
configure:862: checking for working makeinfo
configure:957: checking host system type
configure:978: checking build system type
configure:998: checking for ranlib
configure:1028: checking for gcc
configure:1141: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro) works
configure:1157: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:1154:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){return(0);}
 ^~~~
configure:1183: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler
configure:1188: checking whether we are using GNU C
configure:1197: gcc -m32 -E conftest.c
configure:1216: checking whether gcc -m32 accepts -g
configure:1259: checking for ld used by GCC
configure:1321: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld (GNU Binutils) 2.27
configure:1337: checking for BSD-compatible nm
configure:1373: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main () { return 0; }
 ^~~~
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -fPIC -DPIC -D_FORTIFY_SOURCE=2 conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -o out/conftest2.o -D_FORTIFY_SOURCE=2 conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -c -o conftest.lo -D_FORTIFY_SOURCE=2 conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -fno-rtti -fno-exceptions -c conftest.c -D_FORTIFY_SOURCE=2 conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -static conftest.c  1>&5
conftest.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){return(0);}
 ^~~~
GNU ld (GNU Binutils) 2.27
ltconfig:1635: checking if global_symbol_pipe works
ltconfig:1636: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c 1>&5
conftest.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){nm_test_var='a';nm_test_func();return(0);}
 ^~~~
ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1691: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -fno-builtin -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c conftstm.o 1>&5
configure:1559: checking whether to enable maintainer-specific portions of Makefiles
configure:1589: checking host system type
configure:1705: checking whether build environment is sane
configure:1747: checking for gcc
configure:1860: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro) works
configure:1876: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:1873:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(){return(0);}
 ^~~~
configure:1902: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler
configure:1907: checking whether we are using GNU C
configure:1935: checking whether gcc -m32 accepts -g
configure:1967: checking for POSIXized ISC
configure:1991: checking for gcc -m32 option to accept ANSI C
configure:2044: gcc -m32  -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 conftest.c 1>&5
configure:2079: checking for a BSD compatible install
configure:2132: checking whether make sets ${MAKE}
configure:2189: checking for gawk
configure:2223: checking for perl5
configure:2223: checking for perl
configure:2257: checking for indent
configure:2294: checking whether make is GNU Make
configure:2312: checking how to run the C preprocessor
configure:2333: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:2392: checking for ANSI C header files
configure:2405: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:2472: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure: In function 'main':
configure:2467:67: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
                                                                   ^~~~
configure:2467:67: warning: incompatible implicit declaration of built-in function 'exit'
configure:2467:67: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:2468:1: warning: incompatible implicit declaration of built-in function 'exit'
 exit (0); }
 ^~~~
configure:2468:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:2496: checking for working const
configure:2550: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 conftest.c 1>&5
configure: In function 'main':
configure:2524:15: warning: unused variable 's' [-Wunused-variable]
   char const *s = 0 ? (char *) 0 : (char const *) 0;
               ^
configure:2544:13: warning: unused variable 'foo' [-Wunused-variable]
   const int foo = 10;
             ^~~
configure:2512:27: warning: unused variable 'zero' [-Wunused-variable]
 static struct point const zero = {0,0};
                           ^~~~
configure:2506:39: warning: unused variable 'x' [-Wunused-variable]
 typedef int charset[2]; const charset x;
                                       ^
configure:2526:5: warning: 't' is used uninitialized in this function [-Wuninitialized]
   *t++ = 0;
    ~^~
configure:2541:21: warning: 'b' is used uninitialized in this function [-Wuninitialized]
   struct s *b; b->j = 5;
                ~~~~~^~~
configure:2571: checking for inline
configure:2585: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 conftest.c 1>&5
configure:2581:10: warning: return type defaults to 'int' [-Wimplicit-int]
 } $ac_kw foo() {
          ^~~
configure:2611: checking for off_t
configure:2644: checking for size_t
configure:2679: checking for working alloca.h
configure:2691: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure: In function 'main':
configure:2687:7: warning: unused variable 'p' [-Wunused-variable]
 char *p = alloca(2 * sizeof(int));
       ^
configure:2712: checking for alloca
configure:2745: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure: In function 'main':
configure:2741:7: warning: unused variable 'p' [-Wunused-variable]
 char *p = (char *) alloca(1);
       ^
configure:2914: checking for unistd.h
configure:2924: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:2953: checking for getpagesize
configure:2981: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3006: checking for working mmap
configure:3154: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3085:7: warning: conflicting types for built-in function 'malloc'
 char *malloc();
       ^~~~~~
configure: In function 'main':
configure:3095:13: warning: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration]
  pagesize = getpagesize();
             ^~~~~~~~~~~
configure:3102:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   exit(1);
   ^~~~
configure:3102:3: warning: incompatible implicit declaration of built-in function 'exit'
configure:3102:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3104:17: warning: implicit declaration of function 'rand' [-Wimplicit-function-declaration]
   *(data + i) = rand();
                 ^~~~
configure:3105:2: warning: implicit declaration of function 'umask' [-Wimplicit-function-declaration]
  umask(0);
  ^~~~~
configure:3108:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3108:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3109:6: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration]
  if (write(fd, data, pagesize) != pagesize)
      ^~~~~
configure:3110:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3110:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3111:2: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
  close(fd);
  ^~~~~
configure:3120:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3120:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3123:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3123:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3127:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3127:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3130:4: warning: incompatible implicit declaration of built-in function 'exit'
    exit(1);
    ^~~~
configure:3130:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3141:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3141:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3142:6: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
  if (read(fd, data3, pagesize) != pagesize)
      ^~~~
configure:3143:3: warning: incompatible implicit declaration of built-in function 'exit'
   exit(1);
   ^~~~
configure:3143:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3146:4: warning: incompatible implicit declaration of built-in function 'exit'
    exit(1);
    ^~~~
configure:3146:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3148:2: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
  unlink("conftestmmap");
  ^~~~~~
configure:3149:2: warning: incompatible implicit declaration of built-in function 'exit'
  exit(0);
  ^~~~
configure:3149:2: note: include '<stdlib.h>' or provide a declaration of 'exit'
configure:3182: checking for argz.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for limits.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for locale.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for nl_types.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for malloc.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for string.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3182: checking for unistd.h
configure:3182: checking for sys/param.h
configure:3192: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3222: checking for getcwd
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for munmap
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for putenv
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for setenv
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for setlocale
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for strchr
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3234:6: warning: conflicting types for built-in function 'strchr'
 char $ac_func();
      ^~~~~~
configure:3222: checking for strcasecmp
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3234:6: warning: conflicting types for built-in function 'strcasecmp'
 char $ac_func();
      ^~~~~~~~~~
configure:3222: checking for strdup
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3234:6: warning: conflicting types for built-in function 'strdup'
 char $ac_func();
      ^~~~~~
configure:3222: checking for __argz_count
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for __argz_stringify
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3222: checking for __argz_next
configure:3250: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3279: checking for stpcpy
configure:3307: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3291:6: warning: conflicting types for built-in function 'stpcpy'
 char $ac_func();
      ^~~~~~
configure:3341: checking for LC_MESSAGES
configure:3353: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3374: checking whether NLS is requested
configure:3406: checking for libintl.h
configure:3416: gcc -m32 -E -D_FORTIFY_SOURCE=2 -O2 conftest.c >/dev/null 2>conftest.out
configure:3433: checking for dgettext in libc
configure:3445: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3563: checking for msgfmt
configure:3597: checking for dcgettext
configure:3625: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:3609:6: warning: conflicting types for built-in function 'dcgettext'
 char $ac_func();
      ^~~~~~~~~
configure:3652: checking for gmsgfmt
configure:3688: checking for xgettext
configure:3728: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c  1>&5
configure:4004: checking for catalogs to be installed
configure:4114: checking for extra flags to get ANSI library prototypes
configure:4128: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c   -lm 1>&5
configure:4168: checking for extra flags for POSIX compliance
configure:4177: gcc -m32 -c -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -D_FORTIFY_SOURCE=2 conftest.c 1>&5
configure: In function 'main':
configure:4173:6: warning: unused variable 'dir' [-Wunused-variable]
 DIR *dir;
      ^~~
configure:4270: checking for glib-config
configure:4305: checking for GLIB - version >= 1.2.8
configure:4404: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c -L/usr/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl   1>&5
configure: In function 'main':
configure:4340:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
   system ("touch conf.glibtest");
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: cannot find -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: cannot find -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: cannot find -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 4328 "configure"
#include "confdefs.h"

#include <glib.h>
#include <stdio.h>
#include <stdlib.h>

int 
main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.glibtest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = g_strdup("1.2.8");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "1.2.8");
     exit(1);
   }

  if ((glib_major_version != 1) ||
      (glib_minor_version != 2) ||
      (glib_micro_version != 10))
    {
      printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", 
             1, 2, 10,
             glib_major_version, glib_minor_version, glib_micro_version);
      printf ("*** was found! If glib-config was correct, then it is best\n");
      printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
      printf("*** required on your system.\n");
      printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
      printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
      printf("*** before re-running configure\n");
    } 
  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
	   (glib_minor_version != GLIB_MINOR_VERSION) ||
           (glib_micro_version != GLIB_MICRO_VERSION))
    {
      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
      printf("*** library (version %d.%d.%d)\n",
	     glib_major_version, glib_minor_version, glib_micro_version);
    }
  else
    {
      if ((glib_major_version > major) ||
        ((glib_major_version == major) && (glib_minor_version > minor)) ||
        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
               glib_major_version, glib_minor_version, glib_micro_version);
        printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
	       major, minor, micro);
        printf("*** GLIB is always available from [url]ftp://ftp.gtk.org[/url].\n");
        printf("***\n");
        printf("*** If you have already installed a sufficiently new version, this error\n");
        printf("*** probably means that the wrong copy of the glib-config shell script is\n");
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
        printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
        printf("*** correct copy of glib-config. (In this case, you will have to\n");
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
        printf("*** so that the correct libraries are found at run-time))\n");
      }
    }
  return 1;
}

configure:4448: gcc -m32 -o conftest -march=x86-64 -mtune=native -O2 -pipe -fstack-protector-strong -Wall -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c   -L/usr/lib -rdynamic -lgmodule -lgthread -lglib -lpthread -ldl 1>&5
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: cannot find -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: cannot find -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: cannot find -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status
configure: failed program was:
#line 4438 "configure"
#include "confdefs.h"

#include <glib.h>
#include <stdio.h>

int main() {
 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); 
; return 0; }

Mod note: replaced quote tags with code tags -- WorMzy

Last edited by WorMzy (2016-08-16 23:20:31)

Offline

#6 2016-08-16 12:35:24

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Help with lib32-gtk

Use CODE tags, not QUOTE tags, please.


Matt

"It is very difficult to educate the educated."

Offline

#7 2016-08-16 22:53:06

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Help with lib32-gtk

/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgmodule.so when searching for -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgmodule.so when searching for -lgmodule
/usr/bin/ld: cannot find -lgmodule
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libgthread.so when searching for -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libgthread.so when searching for -lgthread
/usr/bin/ld: cannot find -lgthread
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1/../../../libglib.so when searching for -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libglib.so when searching for -lglib
/usr/bin/ld: cannot find -lglib
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
collect2: error: ld returned 1 exit status

These lines mean ib32-gtk is looking for the 32-bit version of glib , lib32-glib .
The PKGBUILD for lib32-gtk correctly lists lib32-glib as a dependency for lib32-gtk.

Makepkg would have detected the missing dependency and aborted building before starting any compilation .



==> ERROR: Makepkg was unable to build lib32-gtk.
==> Restart building lib32-gtk ? [y/N]

Those lines suggest you use a certain aur helper.
If you feel the need to use an aur helper, check AUR_helpers - Comparison_table
and choose a decent one.
Hint: green is good


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB