Installing cnijfilter-common-2.70-2.src.rpm
warning: user adminv270 does not exist - using root
warning: group adminv270 does not exist - using root
warning: user adminv270 does not exist - using root
warning: group adminv270 does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69160
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf cnijfilter-common-2.70
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/cnijfilter-common-2.70-2.tar.gz
+ tar -xf -
+ STATUS=0
+ '' 0 -ne 0 ']'
+ cd cnijfilter-common-2.70
++ /usr/bin/id -u
+ '' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cd libs
+ ./autogen.sh --prefix=/usr/local
processing .
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal ...
Running autoheader...
Running automake --gnu ...
configure.in:2: installing `./install-sh'
configure.in:2: installing `./missing'
bjexec/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --prefix=/usr/local ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.69160 (%prep)
RPM build errors:
user adminv270 does not exist - using root
group adminv270 does not exist - using root
user adminv270 does not exist - using root
group adminv270 does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.69160 (%prep)
Here’s some logging from the mentioned config.log above:
configure:1968: checking for a BSD-compatible install
configure:2024: result: /usr/bin/install -c
configure:2035: checking whether build environment is sane
configure:2078: result: yes
configure:2106: checking for a thread-safe mkdir -p
configure:2145: result: /bin/mkdir -p
configure:2158: checking for gawk
configure:2174: found /usr/bin/gawk
configure:2185: result: gawk
configure:2196: checking whether make sets $(MAKE)
configure:2221: result: no
configure:2468: checking for g++
configure:2498: result: no
configure:2468: checking for c++
configure:2498: result: no
configure:2468: checking for gpp
configure:2498: result: no
configure:2468: checking for aCC
configure:2498: result: no
configure:2468: checking for CC
configure:2498: result: no
configure:2468: checking for cxx
configure:2498: result: no
configure:2468: checking for cc++
configure:2498: result: no
configure:2468: checking for cl.exe
configure:2498: result: no
configure:2468: checking for FCC
configure:2498: result: no
configure:2468: checking for KCC
configure:2498: result: no
configure:2468: checking for RCC
configure:2498: result: no
configure:2468: checking for xlC_r
configure:2498: result: no
configure:2468: checking for xlC
configure:2498: result: no
configure:2526: checking for C++ compiler version
configure:2533: g++ --version >&5
./configure: line 2534: g++: command not found
configure:2536: $? = 127
configure:2543: g++ -v >&5
./configure: line 2544: g++: command not found
configure:2546: $? = 127
configure:2553: g++ -V >&5
./configure: line 2554: g++: command not found
configure:2556: $? = 127
configure:2579: checking for C++ compiler default output file name
configure:2606: g++ conftest.cpp >&5
./configure: line 2607: g++: command not found
configure:2609: $? = 127
configure:2647: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "buftool"
| #define VERSION "1.0.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2654: error: C++ compiler cannot create executables
See `config.log' for more details.
I don’t know what to do with it. Can somebody help me with this?
Thnx! I just reinstalled OS and forgot to install that also.
But now I got another error:
Making install in cngpij
make[2]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cngpij/cngpij'
gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -I../include/cncl -I../include/misc -I../../libs/paramlist -I../../libs/bjexec -O2 -MT bjcups.o -MD -MP -MF .deps/bjcups.Tpo -c -o bjcups.o bjcups.c
bjcups.c:25:23: error: cups/cups.h: No such file or directory
bjcups.c:26:22: error: cups/ppd.h: No such file or directory
bjcups.c:30:18: error: popt.h: No such file or directory
bjcups.c: In function ‘add_option_param’:
bjcups.c:190: warning: implicit declaration of function ‘strlen’
bjcups.c:190: warning: incompatible implicit declaration of built-in function ‘strlen’
bjcups.c: In function ‘add_option_value’:
bjcups.c:198: warning: incompatible implicit declaration of built-in function ‘strlen’
bjcups.c: In function ‘add_option_string’:
bjcups.c:206: warning: incompatible implicit declaration of built-in function ‘strlen’
bjcups.c: In function ‘init_option’:
bjcups.c:211: error: array type has incomplete element type
bjcups.c:214: error: ‘POPT_ARG_NONE’ undeclared (first use in this function)
bjcups.c:214: error: (Each undeclared identifier is reported only once
bjcups.c:214: error: for each function it appears in.)
bjcups.c:215: error: ‘POPT_ARG_STRING’ undeclared (first use in this function)
bjcups.c:220: error: ‘poptContext’ undeclared (first use in this function)
bjcups.c:220: error: expected ‘;’ before ‘context’
bjcups.c:224: warning: implicit declaration of function ‘poptGetNextOpt’
bjcups.c:224: error: ‘context’ undeclared (first use in this function)
bjcups.c:233: warning: implicit declaration of function ‘strdup’
bjcups.c:233: warning: incompatible implicit declaration of built-in function ‘strdup’
bjcups.c:233: warning: implicit declaration of function ‘poptGetOptArg’
bjcups.c:233: warning: passing argument 1 of ‘strdup’ makes pointer from integer without a cast
bjcups.c:238: warning: initialization makes pointer from integer without a cast
bjcups.c:239: warning: incompatible implicit declaration of built-in function ‘strlen’
bjcups.c:255: warning: implicit declaration of function ‘poptBadOption’
bjcups.c:255: error: ‘POPT_BADOPTION_NOALIAS’ undeclared (first use in this function)
bjcups.c:255: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
bjcups.c:211: warning: unused variable ‘option_table’
bjcups.c: In function ‘parse_product_name’:
bjcups.c:269: warning: implicit declaration of function ‘memset’
bjcups.c:269: warning: incompatible implicit declaration of built-in function ‘memset’
bjcups.c: In function ‘get_product_name’:
bjcups.c:287: warning: implicit declaration of function ‘cupsGetPPD’
bjcups.c:287: warning: initialization makes pointer from integer without a cast
bjcups.c:296: error: ‘ppd_file_t’ undeclared (first use in this function)
bjcups.c:296: error: ‘p_ppd’ undeclared (first use in this function)
bjcups.c:298: warning: implicit declaration of function ‘ppdOpenFile’
bjcups.c:300: warning: implicit declaration of function ‘strcmp’
bjcups.c:303: warning: implicit declaration of function ‘strncpy’
bjcups.c:303: warning: incompatible implicit declaration of built-in function ‘strncpy’
bjcups.c:305: warning: implicit declaration of function ‘ppdClose’
bjcups.c: In function ‘main’:
bjcups.c:532: warning: implicit declaration of function ‘cupsGetDefault’
bjcups.c:532: warning: assignment makes pointer from integer without a cast
bjcups.c:533: warning: incompatible implicit declaration of built-in function ‘strdup’
bjcups.c:547: warning: incompatible implicit declaration of built-in function ‘strlen’
bjcups.c:548: warning: implicit declaration of function ‘strcpy’
bjcups.c:548: warning: incompatible implicit declaration of built-in function ‘strcpy’
bjcups.c:549: warning: implicit declaration of function ‘strcat’
bjcups.c:549: warning: incompatible implicit declaration of built-in function ‘strcat’
bjcups.c:574: warning: incompatible implicit declaration of built-in function ‘memset’
make[2]: *** [bjcups.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cngpij/cngpij'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cngpij'
make: *** [install] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.65616 (%install)
RPM build errors:
user adminv270 does not exist - using root
group adminv270 does not exist - using root
user adminv270 does not exist - using root
group adminv270 does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.65616 (%install)
Making clean in include
make[1]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include'
Making clean in misc
make[2]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include/misc'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include/misc'
Making clean in cncl
make[2]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include/cncl'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include/cncl'
Making clean in .
make[2]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include'
make[1]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/include'
Making clean in src
make[1]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/src'
test -z "cif" || rm -f cif
rm -f *.o
make[1]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/src'
Making clean in .
make[1]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter'
make[1]: Nothing to be done for `clean-am'.
make[1]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter'
+ make
make all-recursive
make[1]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter'
Making all in src
make[2]: Entering directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc -O2 -MT bjferror.o -MD -MP -MF .deps/bjferror.Tpo -c -objferror.o bjferror.c
mv -f .deps/bjferror.Tpo .deps/bjferror.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/cncl -I../include/misc -O2 -MT bjfilter.o -MD -MP -MF .deps/bjfilter.Tpo -c -objfilter.o bjfilter.c
In file included from bjfilter.c:46:
bjfimage.h:31:20: error: tiffio.h: No such file or directory
In file included from bjfilter.c:46:
bjfimage.h:95: error: expected specifier-qualifier-list before ‘TIFF’
bjfilter.c: In function ‘MakeBJPrintData’:
bjfilter.c:741: error: ‘BJF_IMAGEINFO’ has no member named ‘bmp’
bjfilter.c: In function ‘set_position_parameter’:
bjfilter.c:1185: error: ‘BJF_IMAGEINFO’ has no member named ‘xresolution’
bjfilter.c:1189: error: ‘BJF_IMAGEINFO’ has no member named ‘xresolution’
bjfilter.c:1193: error: ‘BJF_IMAGEINFO’ has no member named ‘yresolution’
bjfilter.c:1197: error: ‘BJF_IMAGEINFO’ has no member named ‘xresolution’
make[2]: *** [bjfilter.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/cnijfilter-common-2.70/cnijfilter'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.95138 (%install)
RPM build errors:
user adminv270 does not exist - using root
group adminv270 does not exist - using root
user adminv270 does not exist - using root
group adminv270 does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.95138 (%install)
I was looking for the packages filter or fimage, but they are not listed in Yast. Also tiff won’t get me to pass this problem.
I don’t know how to read this log and which package I need
Hi
If you look at the first line before the error, it’s looking for a
tiffio.h. From that i would guess it’s a libtiff development file your
looking for.
Good! I begin to understand a little I now passed 3 steps allready.
Now I got another problem.
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running aclocal ...
configure.in:42: warning: macro `AM_PATH_GTK' not found in library
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Running automake --gnu ...
configure.in:11: installing `./install-sh'
configure.in:11: installing `./missing'
src/Makefile.am:10: compiling `main.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'
src/Makefile.am: installing `./depcomp'
Running autoconf ...
configure.in:42: error: possibly undefined macro: AM_PATH_GTK
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Running ./configure --enable-maintainer-mode --prefix=/usr/local --program-suffix=mp160 ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
./configure: line 5593: syntax error near unexpected token `1.2.0,'
./configure: line 5593: `AM_PATH_GTK(1.2.0, ,'
error: Bad exit status from /var/tmp/rpm-tmp.93281 (%install)
I found some information via Google, but unfortunately no solutions.
Just a shot in the dark
What if you use the source tarball
after you do an unrpm of cnijfilter-common-2.70-2.src.rpm
you will find that source and tryto use it to
./configure and then
checkinstall
I got a problem sometime ago with konki and it was the solution I did and was able to make it.