LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   krpmbuilder install problems in fc2 (https://www.linuxquestions.org/questions/linux-software-2/krpmbuilder-install-problems-in-fc2-234221/)

rjohnson244 09-23-2004 06:12 AM

krpmbuilder install problems in fc2
 
I am trying to install krpm buildr on FC2. I was able to un-tar it, but when I perform "./configure"
(as su) there are errors at the end of the action could someone take alook at the config.log file and tell me what is wrong and what I can do about it. Thanks. (Sorry but probably won't be able to reply until 7:00 PM Central Time)

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

configure:613: checking host system type
configure:634: checking target system type
configure:652: checking build system type
configure:711: checking for a BSD compatible install
configure:768: checking for -p flag to install
configure:791: checking whether build environment is sane
configure:829: checking whether make sets ${MAKE}
configure:875: checking for working aclocal
configure:888: checking for working autoconf
configure:901: checking for working automake
configure:914: checking for working autoheader
configure:927: checking for working makeinfo
configure:1013: checking for a C-Compiler
configure:1019: checking for gcc
configure:1125: checking whether the C compiler (gcc ) works
configure:1141: gcc -o conftest conftest.c 1>&5
configure:1167: checking whether the C compiler (gcc ) is a cross-compiler
configure:1172: checking whether we are using GNU C
configure:1181: gcc -E conftest.c
configure:1283: checking how to run the C preprocessor
configure:1304: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1345: checking for a C++-Compiler
configure:1351: checking for g++
configure:1467: checking whether the C++ compiler (g++ ) works
configure:1488: rm -rf SunWS_cache; g++ -o conftest conftest.C 1>&5
configure:1514: checking whether the C++ compiler (g++ ) is a cross-compiler
configure:1519: checking whether we are using GNU C++
configure:1528: g++ -E conftest.C
configure:1603: checking whether g++ supports -fno-exceptions
configure:1637: checking whether g++ supports -fno-check-new
configure:1676: checking whether g++ supports -Wno-long-long
configure:1708: checking whether g++ supports -fno-builtin
configure:1753: checking whether g++ supports -fexceptions
configure:1788: checking whether g++ supports -frtti
configure:1868: checking how to run the C++ preprocessor
configure:1890: g++ -E conftest.C >/dev/null 2>conftest.out
configure:1951: checking whether g++ supports -frepo
configure:2146: checking for ld used by GCC
configure:2214: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.15.90.0.3 20040415
configure:2231: checking for /usr/bin/ld option to reload object files
configure:2243: checking for BSD-compatible nm
configure:2280: checking whether ln -s works
configure:2301: checking how to recognise dependant libraries
configure:2587: checking for ranlib
configure:2654: checking for strip
configure:2826: checking for Cygwin environment
configure:2842: gcc -c -O2 conftest.c 1>&5
configure: In function `main':
configure:2838: error: `__CYGWIN32__' undeclared (first use in this function)
configure:2838: error: (Each undeclared identifier is reported only once
configure:2838: error: for each function it appears in.)
configure: failed program was:
#line 2831 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2859: checking for mingw32 environment
configure:2871: gcc -c -O2 conftest.c 1>&5
configure: In function `main':
configure:2867: error: `__MINGW32__' undeclared (first use in this function)
configure:2867: error: (Each undeclared identifier is reported only once
configure:2867: error: for each function it appears in.)
configure: failed program was:
#line 2864 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
ltcf-c.sh:need_lc: gcc -c -O2 conftest.c 1>&5
ltcf-c.sh:need_lc: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest
/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/collect2 --eh-frame-hdr -m elf_i386 -shared -o conftest /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../crti.o /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/crtbeginS.o -L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3 -L/usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../.. conftest.o -soname conftest -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/crtendS.o /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/../../../crtn.o
ltconfig:670:checking for gcc option to produce PIC
ltconfig:679:checking that gcc PIC flag -fPIC -DPIC works.
ltconfig:689: gcc -c -O2 -fPIC -DPIC -DPIC conftest.c 1>&5
ltconfig:741: checking if gcc static flag -static works
ltconfig:750: gcc -o conftest -O2 -static conftest.c 1>&5
ltconfig:787: checking if gcc supports -c -o file.o
ltconfig:788: gcc -c -O2 -o out/conftest2.o conftest.c 1>&5
ltconfig:841: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:842: gcc -c -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
ltconfig:1309: checking if global_symbol_pipe works
ltconfig:1310: gcc -c -O2 conftest.c 1>&5
ltconfig:1313: 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:1365: gcc -o conftest -O2 -fno-builtin conftest.c conftstm.o 1>&5
ltconfig:1469: checking for dlopen in -ldl
ltconfig:1489: gcc -o conftest -O2 -fno-builtin conftest.c -ldl 1>&5
ltconfig:1706: checking for dlfcn.h
ltconfig:1717: gcc -c -O2 -fno-builtin conftest.c 1>&5 >/dev/null 2>conftest.out
ltconfig:1745: checking whether a program can dlopen itself
ltconfig:1799: gcc -o conftest -O2 -fno-builtin -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl 1>&5
ltconfig:1818: checking whether a statically linked program can dlopen itself
ltconfig:1872: gcc -o conftest -O2 -fno-builtin -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl 1>&5
/tmp/ccwAiSnG.o(.text+0x1b): In function `main':
: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ltconfig: failed program was:
/*#line 1826 "ltconfig"*/

#if HAVE_DLFCN_H
#include <dlfcn.h>
#endif

#include <stdio.h>

#ifdef RTLD_GLOBAL
# define LTDL_GLOBAL RTLD_GLOBAL
#else
# ifdef DL_GLOBAL
# define LTDL_GLOBAL DL_GLOBAL
# else
# define LTDL_GLOBAL 0
# endif
#endif

/* We may have to define LTDL_LAZY_OR_NOW in the command line if we
find out it does not work in some platform. */
#ifndef LTDL_LAZY_OR_NOW
# ifdef RTLD_LAZY
# define LTDL_LAZY_OR_NOW RTLD_LAZY
# else
# ifdef DL_LAZY
# define LTDL_LAZY_OR_NOW DL_LAZY
# else
# ifdef RTLD_NOW
# define LTDL_LAZY_OR_NOW RTLD_NOW
# else
# ifdef DL_NOW
# define LTDL_LAZY_OR_NOW DL_NOW
# else
# define LTDL_LAZY_OR_NOW 0
# endif
# endif
# endif
# endif
#endif

void fnord() { int i=42;}
int main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 1; }

g++ -E conftest.cc
ltconfig:670:checking for g++ option to produce PIC
ltconfig:679:checking that g++ PIC flag -fPIC -DPIC works.
ltconfig:689: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -fPIC -DPIC -DPIC conftest.cc 1>&5
ltconfig:741: checking if g++ static flag -static works
ltconfig:750: g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -static conftest.cc 1>&5
ltconfig:787: checking if g++ supports -c -o file.o
ltconfig:788: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -o out/conftest2.o conftest.cc 1>&5
ltconfig:841: checking if g++ supports -fno-rtti -fno-exceptions
ltconfig:842: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -fno-rtti -fno-exceptions -c conftest.cc conftest.cc 1>&5
ltconfig:1309: checking if global_symbol_pipe works
ltconfig:1310: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin conftest.cc 1>&5
ltconfig:1313: 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:1365: g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -fno-builtin -fno-rtti -fno-exceptions conftest.cc conftstm.o 1>&5
ltconfig:1706: checking for dlfcn.h
ltconfig:1745: checking whether a program can dlopen itself
ltconfig:1818: checking whether a statically linked program can dlopen itself
configure:3007: checking for object suffix
configure:3013: gcc -c -O2 conftest.c 1>&5
configure:3033: checking for executable suffix
configure:3043: gcc -o conftest -O2 conftest.c 1>&5
configure:3089: checking for msgfmt
configure:3123: checking for gmsgfmt
configure:3168: checking for xgettext
configure:3221: checking for main in -lcompat
configure:3236: gcc -o conftest -O2 conftest.c -lcompat 1>&5
/usr/bin/ld: cannot find -lcompat
collect2: ld returned 1 exit status
configure: failed program was:
#line 3229 "configure"
#include "confdefs.h"

int main() {
main()
; return 0; }
configure:3258: checking for crypt in -lcrypt
configure:3277: gcc -o conftest -O2 conftest.c -lcrypt 1>&5
configure:3351: checking for the third argument of getsockname
configure:3380: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin conftest.C 1>&5
configure:3451: checking for dnet_ntoa in -ldnet
configure:3470: gcc -o conftest -O2 conftest.c -ldnet 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3459 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3492: checking for dnet_ntoa in -ldnet_stub
configure:3511: gcc -o conftest -O2 conftest.c -ldnet_stub 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3500 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:3533: checking for inet_ntoa
configure:3561: gcc -o conftest -O2 conftest.c 1>&5
configure:3623: checking for connect
configure:3651: gcc -o conftest -O2 conftest.c 1>&5
configure:3714: checking for remove
configure:3742: gcc -o conftest -O2 conftest.c 1>&5
configure:3806: checking for shmat
configure:3834: gcc -o conftest -O2 conftest.c 1>&5
configure:3900: checking for killpg in -lucb
configure:3919: gcc -o conftest -O2 conftest.c -lucb 1>&5
/usr/bin/ld: cannot find -lucb
collect2: ld returned 1 exit status
configure: failed program was:
#line 3908 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char killpg();

int main() {
killpg()
; return 0; }
configure:3988: checking size of int
configure:4007: gcc -o conftest -O2 conftest.c 1>&5
configure:4026: checking size of long
configure:4045: gcc -o conftest -O2 conftest.c 1>&5
configure:4064: checking size of char *
configure:4083: gcc -o conftest -O2 conftest.c 1>&5
configure:4104: checking for dlopen in -ldl
configure:4148: checking for shl_unload in -ldld
configure:4167: gcc -o conftest -O2 conftest.c -ldld 1>&5
/usr/bin/ld: cannot find -ldld
collect2: ld returned 1 exit status
configure: failed program was:
#line 4156 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shl_unload();

int main() {
shl_unload()
; return 0; }
configure:4195: checking for bool
configure:4218: g++ -c -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin conftest.C 1>&5
configure: In function `int main()':
configure:4214: warning: unused variable `bool aBool'
configure:4241: checking for extra includes
configure:4272: checking for extra libs
configure:4306: checking for libz
configure:4332: gcc -o conftest -O2 conftest.c -lz 1>&5
configure:4362: checking for X
configure:4401: gcc -E conftest.c >/dev/null 2>conftest.out
configure:4477: gcc -o conftest -O2 conftest.c -lXt 1>&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status
configure: failed program was:
#line 4470 "configure"
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:4648: checking for IceConnectionNumber in -lICE
configure:4667: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c -lICE 1>&5
configure:4696: checking for libXext
configure:4719: gcc -o conftest -O2 -L/usr/X11R6/lib conftest.c -lXext -lX11 1>&5
configure:4807: checking for libpng
configure:4837: gcc -o conftest -O2 -I/usr/X11R6/include conftest.c -L/usr/X11R6/lib -lpng -lz -lm -lX11 1>&5
configure:4869: checking for libjpeg6b
configure:4907: gcc -o conftest -O2 -I/usr/X11R6/include conftest.c -L/usr/X11R6/lib -ljpeg6b -lm 1>&5
/usr/bin/ld: cannot find -ljpeg6b
collect2: ld returned 1 exit status
configure: failed program was:
#line 4886 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
struct jpeg_decompress_struct;
typedef struct jpeg_decompress_struct * j_decompress_ptr;
typedef int size_t;
#ifdef __cplusplus
extern "C" {
#endif
void jpeg_CreateDecompress(j_decompress_ptr cinfo,
int version, size_t structsize);
#ifdef __cplusplus
}
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */

int main() {
jpeg_CreateDecompress(0L, 0, 0);
; return 0; }
configure:4930: checking for libjpeg
configure:4968: gcc -o conftest -O2 -I/usr/X11R6/include conftest.c -L/usr/X11R6/lib -ljpeg -lm 1>&5
configure:5073: checking for Qt
tried NO
tried /usr/lib/qt-3.3/lib
tried /usr/lib/qt-3.3
tried /usr/lib/qt2/lib
tried /usr/lib/qt2
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
tried /usr/lib
tried /usr/local/qt/lib
tried /usr/X11R6/lib
configure:5234: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin -I/usr/lib/qt-3.3/include -I/usr/X11R6/include -LNONE -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE 1>&5
conftest.C: In function `int main()':
conftest.C:15: warning: unused variable `QStringList*t'
conftest.C:20: warning: unused variable `int magnolia'
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 221)
#error 1
#endif

int main() {
QStringList *t = new QStringList();
QIconView iv(0);
iv.setWordWrapIconText(false);
QString s;
s.setLatin1("Elvis is alive", 14);
int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
return 0;
}

mhearn 09-23-2004 08:05 AM

You need to install the KDE developer packages.

rjohnson244 09-23-2004 10:48 AM

Thanks Mike I'll do that , although when I installed the OS I used the "everything" install option

mhearn 09-25-2004 12:01 PM

Depends on the profile used in Fedora Core (desktop vs workstation)

rjohnson244 09-25-2004 02:07 PM

krpmbuilder install problems in fc2
 
ooohhhhhh, makes sense. I believe that I did choose desktop.
Thanks again


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