Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
When I tried to run apache I got error for libiconv-1.12 lib.
I downloaded source and trying to install then I am stuck at gcc error.
Please find the error below.
Can you please guide me the next step?
$ cd ../../../apps1/reclass/apache2/dist/libiconv-1.12
$ pwd
/apps1/reclass/apache2/dist/libiconv-1.12
$ ./configure --prefix=/usr/local $ make $ make install
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: $
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking for a BSD-compatible install... build-aux/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking whether make sets $(MAKE)... (cached) no
checking for $-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.thanks,
phaneendra

gcc is part of the GNU compiler collection. It looks like you don't have it installed. You should be able to install it from this website:

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |