Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread Jakub Zawadzki
On Mon, Feb 13, 2012 at 08:39:52AM +0100, soku sok wrote:
> zawartość pliku config.log:
> 
> [...]
> /usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
> collect2: ld returned 1 exit status
> configure:3326: $? = 1
> configure:3364: result: no
> [...]

Nie znam dystrybucji NDD, ale brakuję Ci plików "dewelopersking" dla libca.
W debianie pakiet w którym ten plik jest się nazywa libc6-dev,
możesz też próbować szukać w glibc-devel

hth.
___
libgadu-devel mailing list
libgadu-devel@lists.ziew.org
http://lists.ziew.org/mailman/listinfo/libgadu-devel


Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread soku sok
[root@radcaser1 glibc-2.14.1]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: error: you must configure in a separate build directory


W dniu 13 lutego 2012 20:18 użytkownik Tomasz Chiliński
 napisał:
> W dniu 13.02.2012 19:25, soku sok napisał(a):
>> Instalowałem, ale nie wiem czy się dobrze zainstalował, przy obecnej
>> próbie:
>>
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... i686-pc-linux-gnu
>> checking for gcc... gcc
>> checking for suffix of object files... o
>> checking whether we are using the GNU C compiler... yes
>> checking whether gcc accepts -g... yes
>> checking for gcc option to accept ISO C89... unsupported
>> checking how to run the C preprocessor... /lib/cpp
>> configure: error: in `/glibc-2.14.1':
>> configure: error: C preprocessor "/lib/cpp" fails sanity check
>> See `config.log' for more details
>
> Szanse masz zerowe, żeby glibc 2.14.1 skompilowało się czy tym
> bardziej działało na jądrze linux z serii 2.4!
> Spróbuj zainstalować paczkę glibc-dev{,el} ze swojej dystrybucji
> macierzystej
> tej instalacji systemu.
>
> --
> Pozdrawiam
> Tomasz Chiliński, Chilan
> ___
> libgadu-devel mailing list
> libgadu-devel@lists.ziew.org
> http://lists.ziew.org/mailman/listinfo/libgadu-devel
___
libgadu-devel mailing list
libgadu-devel@lists.ziew.org
http://lists.ziew.org/mailman/listinfo/libgadu-devel


Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread soku sok
Instalowałem, ale nie wiem czy się dobrze zainstalował, przy obecnej próbie:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... unsupported
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/glibc-2.14.1':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details


config.log:

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

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.66.  Invocation command line was

  $ ./configure

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

hostname = radcaser1
uname -m = i686
uname -r = 2.4.35-2nnd
uname -s = Linux
uname -v = #1 SMP pią lut 15 18:08:56 GMT 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

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

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /opt/bin


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

configure:2363: checking build system type
configure:2377: result: i686-pc-linux-gnu
configure:2397: checking host system type
configure:2410: result: i686-pc-linux-gnu
configure:2479: checking for gcc
configure:2495: found /usr/bin/gcc
configure:2506: result: gcc
configure:2735: checking for C compiler version
configure:2744: gcc --version >&5
gcc (GCC) 3.3.3
Copyright (C) 2003 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:2755: $? = 0
configure:2744: gcc -v >&5
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/usr --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix
--enable-__cxa_atexit --host=i586-pc-linux-gnu
Thread model: posix
gcc version 3.3.3
configure:2755: $? = 0
configure:2744: gcc -V >&5
gcc: `-V' option must have argument
configure:2755: $? = 1
configure:2744: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:2755: $? = 1
configure:2760: checking for suffix of object files
configure:2782: gcc -c   conftest.c >&5
configure:2786: $? = 0
configure:2807: result: o
configure:2811: checking whether we are using the GNU C compiler
configure:2830: gcc -c   conftest.c >&5
configure:2830: $? = 0
configure:2839: result: yes
configure:2848: checking whether gcc accepts -g
configure:2868: gcc -c -g  conftest.c >&5
configure:2868: $? = 0
configure:2909: result: yes
configure:2926: checking for gcc option to accept ISO C89
configure:2990: gcc  -c -g -O2  conftest.c >&5
conftest.c:9:20: stdarg.h: No such file or directory
conftest.c:10:19: stdio.h: No such file or directory
conftest.c:11:23: sys/types.h: No such file or directory
conftest.c:12:22: sys/stat.h: No such file or directory
conftest.c:15: error: parse error before '*' token
conftest.c:15: warning: `struct stat' declared inside parameter list
conftest.c:15: warning: its scope is only this definition or
declaration, which is probably not what you want
conftest.c:15: warning: data definition has no type or storage class
conftest.c: In function `f':
conftest.c:25: error: `va_list' undeclared (first use in this function)
conftest.c:25: error: (Each undeclared identifier is reported only once
conftest.c:25: error: for each function it appears in.)
conftest.c:25: error: parse error before "v"
conftest.c:26: error: `v' undeclared (first use in this function)
conftest.c:27: error: parse error before "int"
conftest.c: At top level:
conftest.c:49: error: parse error before "FILE"
conftest.c:49: warning: `struct stat' declared inside parameter list
conftest.c:49: error: `pairnames' declared as function returning a function
conftest.c:49: error: parse error before "int"
configure:2990: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define PACKAGE_URL "http://www.gnu.org/software/c-library/";
| /* end confdefs.h.  */
| #include 
| #include 
| #include 
| #include 
| /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
| struct buf { int x; };
| FILE * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
|  char **p;
|  int i;
| {
|   return p[i];
| }
| static char *f (char * (*g) (char **,

Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread Tomasz Chiliński
W dniu 13.02.2012 19:25, soku sok napisał(a):
> Instalowałem, ale nie wiem czy się dobrze zainstalował, przy obecnej 
> próbie:
>
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for gcc... gcc
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... unsupported
> checking how to run the C preprocessor... /lib/cpp
> configure: error: in `/glibc-2.14.1':
> configure: error: C preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details

Szanse masz zerowe, żeby glibc 2.14.1 skompilowało się czy tym
bardziej działało na jądrze linux z serii 2.4!
Spróbuj zainstalować paczkę glibc-dev{,el} ze swojej dystrybucji 
macierzystej
tej instalacji systemu.

-- 
Pozdrawiam
Tomasz Chiliński, Chilan
___
libgadu-devel mailing list
libgadu-devel@lists.ziew.org
http://lists.ziew.org/mailman/listinfo/libgadu-devel


Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread Tomasz Chiliński
W dniu 13.02.2012 11:26, soku sok napisał(a):
> po próbie instalacji gcc-4.6.2 tak wyglada config.log:

Na pewno masz zainstalowane glibc-devel lub glibc-dev (zależnie
od dystrybucji)?

> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by configure, which was
> generated by GNU Autoconf 2.64.  Invocation command line was
>
>   $ ./configure
>
> ## - ##
> ## Platform. ##
> ## - ##
>
> hostname = radcaser1
> uname -m = i686
> uname -r = 2.4.35-2nnd
> uname -s = Linux
> uname -v = #1 SMP pią lut 15 18:08:56 GMT 2008
>
> /usr/bin/uname -p = unknown
> /bin/uname -X = unknown
>
> /bin/arch  = i686
> /usr/bin/arch -k   = unknown
> /usr/convex/getsysinfo = unknown
> /usr/bin/hostinfo  = unknown
> /bin/machine   = unknown
> /usr/bin/oslevel   = unknown
> /bin/universe  = unknown
>
> PATH: /bin
> PATH: /usr/bin
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /usr/X11R6/bin
> PATH: /opt/bin
>
>
> ## --- ##
> ## Core tests. ##
> ## --- ##
>
> configure:: checking build system type
> configure:2236: result: i686-pc-linux-gnu
> configure:2283: checking host system type
> configure:2296: result: i686-pc-linux-gnu
> configure:2316: checking target system type
> configure:2329: result: i686-pc-linux-gnu
> configure:2383: checking for a BSD-compatible install
> configure:2451: result: /bin/install -c
> configure:2462: checking whether ln works
> configure:2484: result: yes
> configure:2488: checking whether ln -s works
> configure:2492: result: yes
> configure:2499: checking for a sed that does not truncate output
> configure:2563: result: /usr/bin/sed
> configure:2572: checking for gawk
> configure:2602: result: no
> configure:2572: checking for mawk
> configure:2588: found /bin/mawk
> configure:2599: result: mawk
> configure:3913: checking for gcc
> configure:3929: found /usr/bin/gcc
> configure:3940: result: gcc
> configure:4169: checking for C compiler version
> configure:4178: gcc --version >&5
> gcc (GCC) 3.3.3
> Copyright (C) 2003 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:4189: $? = 0
> configure:4178: gcc -v >&5
> Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.3/specs
> Configured with: ../gcc-3.3.3/configure --prefix=/usr --enable-shared
> --enable-languages=c,c++,objc --enable-threads=posix
> --enable-__cxa_atexit --host=i586-pc-linux-gnu
> Thread model: posix
> gcc version 3.3.3
> configure:4189: $? = 0
> configure:4178: gcc -V >&5
> gcc: `-V' option must have argument
> configure:4189: $? = 1
> configure:4178: gcc -qversion >&5
> gcc: unrecognized option `-qversion'
> gcc: no input files
> configure:4189: $? = 1
> configure:4209: checking for C compiler default output file name
> configure:4231: gccconftest.c  >&5
> /usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
> collect2: ld returned 1 exit status
> configure:4235: $? = 1
> configure:4272: result:
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:4278: error: in `/home/sok/gcc-4.6.2':
> configure:4282: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ##  ##
> ## Cache variables. ##
> ##  ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_env_AR_FOR_TARGET_set=
> ac_cv_env_AR_FOR_TARGET_value=
> ac_cv_env_AR_set=
> ac_cv_env_AR_value=
> ac_cv_env_AS_FOR_TARGET_set=
> ac_cv_env_AS_FOR_TARGET_value=
> ac_cv_env_AS_set=
> ac_cv_env_AS_value=
> ac_cv_env_CCC_set=
> ac_cv_env_CCC_value=
> ac_cv_env_CC_FOR_TARGET_set=
> ac_cv_env_CC_FOR_TARGET_value=
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=
> ac_cv_env_CFLAGS_value=
> ac_cv_env_CPPFLAGS_set=
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CXXFLAGS_set=
> ac_cv_env_CXXFLAGS_value=
> ac_cv_env_CXX_FOR_TARGET_set=
> ac_cv_env_CXX_FOR_TARGET_value=
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_DLLTOOL_FOR_TARGET_set=
> ac_cv_env_DLLTOOL_FOR_TARGET_value=
> ac_cv_env_DLLTOOL_set=
> ac_cv_env_DLLTOOL_value=
> ac_cv_env_GCC_FOR_TARGET_set=
> ac_cv_env_GCC_FOR_TARGET_value=
> ac_cv_env_GCJ_FOR_TARGET_set=
> ac_cv_env_GCJ_FOR_TARGET_value=
> ac_cv_env_GFORTRAN_FOR_TARGET_set=
> ac_cv_env_GFORTRAN_FOR_TARGET_value=
> ac_cv_env_GOC_FOR_TARGET_set=
> ac_cv_env_GOC_FOR_TARGET_value=
> ac_cv_env_LDFLAGS_set=
> ac_cv_env_LDFLAGS_value=
> ac_cv_env_LD_FOR_TARGET_set=
> ac_cv_env_LD_FOR_TARGET_value=
> ac_cv_env_LD_set=
> ac_cv_env_LD_value=
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_LIPO_FOR_TARGET_set

Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread soku sok
po próbie instalacji gcc-4.6.2 tak wyglada config.log:

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

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ ./configure

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

hostname = radcaser1
uname -m = i686
uname -r = 2.4.35-2nnd
uname -s = Linux
uname -v = #1 SMP pią lut 15 18:08:56 GMT 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

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

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /opt/bin


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

configure:: checking build system type
configure:2236: result: i686-pc-linux-gnu
configure:2283: checking host system type
configure:2296: result: i686-pc-linux-gnu
configure:2316: checking target system type
configure:2329: result: i686-pc-linux-gnu
configure:2383: checking for a BSD-compatible install
configure:2451: result: /bin/install -c
configure:2462: checking whether ln works
configure:2484: result: yes
configure:2488: checking whether ln -s works
configure:2492: result: yes
configure:2499: checking for a sed that does not truncate output
configure:2563: result: /usr/bin/sed
configure:2572: checking for gawk
configure:2602: result: no
configure:2572: checking for mawk
configure:2588: found /bin/mawk
configure:2599: result: mawk
configure:3913: checking for gcc
configure:3929: found /usr/bin/gcc
configure:3940: result: gcc
configure:4169: checking for C compiler version
configure:4178: gcc --version >&5
gcc (GCC) 3.3.3
Copyright (C) 2003 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:4189: $? = 0
configure:4178: gcc -v >&5
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.3/specs
Configured with: ../gcc-3.3.3/configure --prefix=/usr --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix
--enable-__cxa_atexit --host=i586-pc-linux-gnu
Thread model: posix
gcc version 3.3.3
configure:4189: $? = 0
configure:4178: gcc -V >&5
gcc: `-V' option must have argument
configure:4189: $? = 1
configure:4178: gcc -qversion >&5
gcc: unrecognized option `-qversion'
gcc: no input files
configure:4189: $? = 1
configure:4209: checking for C compiler default output file name
configure:4231: gccconftest.c  >&5
/usr/bin/ld: cannot find /usr/lib/libc_nonshared.a
collect2: ld returned 1 exit status
configure:4235: $? = 1
configure:4272: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:4278: error: in `/home/sok/gcc-4.6.2':
configure:4282: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_v

Re: [libgadu-devel] Problem z instalacją

2012-02-13 Thread Rafał Malinowski
Jak dla mnie to problemem jest starożytne gcc 3.3.3. Libgadu wspiera taką
wersję?
___
libgadu-devel mailing list
libgadu-devel@lists.ziew.org
http://lists.ziew.org/mailman/listinfo/libgadu-devel