ac_nonexistent.h not found while configure

Asked by Murali

I am using RHEL AS 4 and gcc 3.4.3

While doing configure with hplip3.9.2, the log states that the ac_nonexistent.h is not found.
But configure completes.

When make command is issued, it starts and fails with ignoring unknown tag CXX and with error code as follows:

ld: cannot find -lgcc
make: *** [hpijs] Error 1

S.Murali

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Aaron Albright
Solved:
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run the make again and post the last 20-30 lines of output.

Thanks.

Aaron

Revision history for this message
Murali (muralisujata) said :
#2

Hi,
The error after running make is posted below:

libtool: ignoring unknown tag CXX
g++ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO -DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN -DAPDK_AUTO_INCLUDE -DAPDK_LINUX -DNDEBUG -g -O2 -o hpijs hpijs-models.o hpijs-breaks_open.o hpijs-dj9xxvip.o hpijs-dj9xx.o hpijs-capture.o hpijs-colormatch.o hpijs-colormatcher_open.o hpijs-compression.o hpijs-context.o hpijs-create_so.o hpijs-creator.o hpijs-dj600.o hpijs-dj630.o hpijs-dj660.o hpijs-dj690.o hpijs-dj6xx.o hpijs-dj8xx.o hpijs-dj600_maps.o hpijs-dj660_maps.o hpijs-dj690_maps.o hpijs-dj895_maps.o hpijs-dj895_maps2.o hpijs-dj970_maps.o hpijs-dj970_maps2.o hpijs-dj970_maps3.o hpijs-filterhpa.o hpijs-apollo21xx.o hpijs-apollo2560.o hpijs-apollo2xxx.o hpijs-dj8x5.o hpijs-psp100.o hpijs-phobos_cmaps.o hpijs-dj350.o hpijs-halftoner.o hpijs-halftoner_open.o hpijs-globals.o hpijs-header.o hpijs-htmtxhi.o hpijs-pmselect.o hpijs-job.o hpijs-printer.o hpijs-registry.o hpijs-scaler.o hpijs-scaler_open.o hpijs-script.o hpijs-systemservices.o hpijs-translator.o hpijs-version.o hpijs-versioncode.o hpijs-djgenericvip.o hpijs-dj540.o hpijs-dj850.o hpijs-dj850_maps.o hpijs-dj890.o hpijs-ljmono.o hpijs-dj3320.o hpijs-dj3320_cmap.o hpijs-dj3600.o hpijs-dj3600_cmap.o hpijs-dj4100_cmap.o hpijs-ljcolor.o hpijs-printerproxy.o hpijs-printerfactory.o hpijs-ljjetready.o hpijs-jdatadbf.o hpijs-jccolor.o hpijs-ljfastraster.o hpijs-ljzjs.o hpijs-ljzjsmono.o hpijs-ljm1005.o hpijs-quickconnect.o hpijs-ljzjscolor.o hpijs-hpijs.o hpijs-ijs_server.o hpijs-ijs.o hpijs-hpijsfax.o hpijs-services.o hpijs-hpiom.o /usr/lib/libjpeg.so -ldl
ld: cannot find -lgcc
make: *** [hpijs] Error 1

Murali

Revision history for this message
Murali (muralisujata) said :
#3

Hi,
The last lines after running make is posted:

libtool: ignoring unknown tag CXX
g++ -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx
-DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX
-DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100
-DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540
-DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP
-DAPDK_LJJETREADY -DAPDK_LJFASTRASTER -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS
-DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LJZJS_MONO
-DAPDK_LJZJS_COLOR -DAPDK_LJM1005 -DAPDK_QUICKCONNECT -DAPDK_LITTLE_ENDIAN
-DAPDK_AUTO_INCLUDE -DAPDK_LINUX -DNDEBUG -g -O2 -o hpijs hpijs-models.o
hpijs-breaks_open.o hpijs-dj9xxvip.o hpijs-dj9xx.o hpijs-capture.o
hpijs-colormatch.o hpijs-colormatcher_open.o hpijs-compression.o
hpijs-context.o hpijs-create_so.o hpijs-creator.o hpijs-dj600.o
hpijs-dj630.o hpijs-dj660.o hpijs-dj690.o hpijs-dj6xx.o hpijs-dj8xx.o
hpijs-dj600_maps.o hpijs-dj660_maps.o hpijs-dj690_maps.o hpijs-dj895_maps.o
hpijs-dj895_maps2.o hpijs-dj970_maps.o hpijs-dj970_maps2.o
hpijs-dj970_maps3.o hpijs-filterhpa.o hpijs-apollo21xx.o hpijs-apollo2560.o
hpijs-apollo2xxx.o hpijs-dj8x5.o hpijs-psp100.o hpijs-phobos_cmaps.o
hpijs-dj350.o hpijs-halftoner.o hpijs-halftoner_open.o hpijs-globals.o
hpijs-header.o hpijs-htmtxhi.o hpijs-pmselect.o hpijs-job.o hpijs-printer.o
hpijs-registry.o hpijs-scaler.o hpijs-scaler_open.o hpijs-script.o
hpijs-systemservices.o hpijs-translator.o hpijs-version.o
hpijs-versioncode.o hpijs-djgenericvip.o hpijs-dj540.o hpijs-dj850.o
hpijs-dj850_maps.o hpijs-dj890.o hpijs-ljmono.o hpijs-dj3320.o
hpijs-dj3320_cmap.o hpijs-dj3600.o hpijs-dj3600_cmap.o hpijs-dj4100_cmap.o
hpijs-ljcolor.o hpijs-printerproxy.o hpijs-printerfactory.o
hpijs-ljjetready.o hpijs-jdatadbf.o hpijs-jccolor.o hpijs-ljfastraster.o
hpijs-ljzjs.o hpijs-ljzjsmono.o hpijs-ljm1005.o hpijs-quickconnect.o
hpijs-ljzjscolor.o hpijs-hpijs.o hpijs-ijs_server.o hpijs-ijs.o
hpijs-hpijsfax.o hpijs-services.o hpijs-hpiom.o /usr/lib/libjpeg.so -ldl
ld: cannot find -lgcc
make: *** [hpijs] Error 1

Murali

On Tue, Mar 10, 2009 at 10:43 PM, Aaron Albright <
<email address hidden>> wrote:

> Your question #63550 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/63550
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Please run the make again and post the last 20-30 lines of output.
>
> Thanks.
>
> Aaron
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/63550
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

Is gcc g++ installed?

Aaron

Revision history for this message
Murali (muralisujata) said :
#5

Yes. Contents of config.log attached.

configure:5441: checking for g++
configure:5457: found /usr/bin/g++
configure:5468: result: g++
configure:5495: checking for C++ compiler version
configure:5503: g++ --version >&5
g++32 (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)
Copyright (C) 2002 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:5507: $? = 0
configure:5514: g++ -v >&5
Using built-in specs.
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--enable-languages=c,c++ --disable-libgcj --host=i386-startcom-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)
g++32: no input files
configure:5518: $? = 1
configure:5525: g++ -V >&5
g++32: argument to `-V' missing

configure:5529: $? = 1
configure:5532: checking whether we are using the GNU C++ compiler
configure:5561: g++ -c conftest.cpp >&5
configure:5568: $? = 0
configure:5585: result: yes
configure:5594: checking whether g++ accepts -g
configure:5624: g++ -c -g conftest.cpp >&5
configure:5631: $? = 0
configure:5732: result: yes
configure:5757: checking dependency style of g++
configure:5848: result: gcc3

On Thu, Mar 12, 2009 at 10:50 PM, Aaron Albright <
<email address hidden>> wrote:

> Your question #63550 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/63550
>
> Status: Open => Needs information
>
> Aaron Albright requested for more information:
> Is gcc g++ installed?
>
> Aaron
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/63550
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#6

Have you looked over this document?

http://hplipopensource.com/hplip-web/install/manual/distros/redhatenterprise.html

The last time I tested on RHEL 4 AS these steps worked for me..

Hope this helps.

Aaron

Revision history for this message
Murali (muralisujata) said :
#7

Hi,
The problem is solved. Thanks for the solution which was helpful.
S.Murali

On Tue, Mar 17, 2009 at 11:32 PM, Aaron Albright <
<email address hidden>> wrote:

> Your question #63550 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/63550
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Have you looked over this document?
>
> http://hplipopensource.com/hplip-
> web/install/manual/distros/redhatenterprise.html<http://hplipopensource.com/hplip-%0Aweb/install/manual/distros/redhatenterprise.html>
>
> The last time I tested on RHEL 4 AS these steps worked for me..
>
> Hope this helps.
>
> Aaron
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/63550/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/63550
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Best Aaron Albright (albrigha-deactivatedaccount) said :
#8

Thanks for the update.

Aaron

Revision history for this message
Murali (muralisujata) said :
#9

Problem Solved. Thanks