can anyone help me out here?
kakainstall ko lang ng gcc so i could compile htmldoc...
#yum install gcc
then i tried the ./configure and that worked but when i do a make it
fails....
im not sure what to make (pun not intended) of this since in the
COMPILE.txtit says if i dont have gcc installed then thats the time i
should setup the
environment varaibles...
here is the output from putty hope someone can help out (also attaching
COMPILE.txt)
[EMAIL PROTECTED] htmldoc-1.9.x-r1521]# ./configure
checking for gawk... gawk
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 ANSI C... none needed
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... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for chmod... /bin/chmod
checking for cp... /bin/cp
checking for fltk-config... no
checking for mv... /bin/mv
checking for mkdir... /bin/mkdir
checking for rm... /bin/rm
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strdupf... no
checking for strlcat... no
checking for strlcpy... no
checking for strncasecmp... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for tm_gmtoff member in tm structure... yes
checking for pow in -lm... yes
checking for library containing socket... none required
checking for library containing gethostbyaddr... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for library containing hstrerror... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for jpeg_CreateCompress in -ljpeg... no
checking for gzgets in -lz... yes
checking for png_set_tRNS_to_alpha in -lpng... no
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating Makefile
config.status: creating htmldoc.list
config.status: creating config.h
config.status: config.h is unchanged
[EMAIL PROTECTED] htmldoc-1.9.x-r1521]# make
Making all in jpeg...
Compiling jmemnobs.c...
Compiling jcapimin.c...
Compiling jcapistd.c...
Compiling jccoefct.c...
Compiling jccolor.c...
Compiling jcdctmgr.c...
Compiling jchuff.c...
Compiling jcinit.c...
Compiling jcmainct.c...
Compiling jcmarker.c...
Compiling jcmaster.c...
Compiling jcomapi.c...
Compiling jcparam.c...
Compiling jcphuff.c...
Compiling jcprepct.c...
Compiling jcsample.c...
Compiling jctrans.c...
Compiling jdapimin.c...
Compiling jdapistd.c...
Compiling jdatadst.c...
Compiling jdatasrc.c...
Compiling jdcoefct.c...
Compiling jdcolor.c...
Compiling jddctmgr.c...
Compiling jdhuff.c...
Compiling jdinput.c...
Compiling jdmainct.c...
Compiling jdmarker.c...
Compiling jdmaster.c...
Compiling jdmerge.c...
Compiling jdphuff.c...
Compiling jdpostct.c...
Compiling jdsample.c...
Compiling jdtrans.c...
Compiling jerror.c...
Compiling jfdctflt.c...
Compiling jfdctfst.c...
Compiling jfdctint.c...
Compiling jidctflt.c...
Compiling jidctfst.c...
Compiling jidctint.c...
Compiling jidctred.c...
Compiling jquant1.c...
Compiling jquant2.c...
Compiling jutils.c...
Compiling jmemmgr.c...
Archiving libjpeg.a...
Making all in png...
Compiling png.c...
Compiling pngset.c...
Compiling pngget.c...
Compiling pngrutil.c...
Compiling pngtrans.c...
Compiling pngwutil.c...
Compiling pngread.c...
Compiling pngrio.c...
Compiling pngwio.c...
Compiling pngwrite.c...
Compiling pngrtran.c...
Compiling pngwtran.c...
Compiling pngmem.c...
Compiling pngerror.c...
Compiling pngpread.c...
Archiving libpng.a...
Making all in htmldoc...
Compiling htmldoc.cxx...
make[1]: g++: Command not found
make[1]: *** [htmldoc.o] Error 127
[EMAIL PROTECTED] htmldoc-1.9.x-r1521]#
COMPILE.txt - 06/18/2006
------------------------
REQUIREMENTS
To compile HTMLDOC you'll need ANSI-compliant C and C++
compilers (gcc is fine, most vendor compilers work, too).
The JPEG, PNG, and ZLIB libraries are provided with HTMLDOC.
COMPILING HTMLDOC UNDER WINDOWS
For the Windows version we have included Visual C++.NET
solution and project files under the "vcnet" directory. You
must add the OpenSSL include and library directories to your
VC++ environment options.
INSTALLING HTMLDOC UNDER WINDOWS
If you want to install the software by hand, create a
directory for the software and copy the HTMLDOC executable,
the "fonts" directory, the "data" directory, and the "doc"
directory to it.
Then create the following registry entries with REGEDIT:
HKEY_LOCAL_MACHINE\Software\Easy Software Products\HTMLDOC\doc
= C:/install/dir/doc
HKEY_LOCAL_MACHINE\Software\Easy Software Products\HTMLDOC\data
= C:/install/dir
CONFIGURING HTMLDOC UNDER UNIX
To compile the software under UNIX you just need to run the
"configure" script in this directory. Usually this is just:
./configure
If you don't want to install HTMLDOC in the default
directories (/usr/bin, /usr/man/man1, etc.), use the
"--prefix" option when you run the configure script:
./configure --prefix=/some/directory
If the OpenSSL library is in a non-standard location you can
specify it using:
./configure --with-openssl-includes=/some/directory/include \
--with-openssl-libs=/some/directory/lib
If you aren't using "cc" or "gcc" for your ANSI C compiler,
you'll need to set the CC environment variable prior to
running the configure script:
CC=compiler; export CC
for Bourne and Korn shells, and:
setenv CC "compiler"
for C shell.
If you aren't using "gcc", "g++", "c++", or "CC" for your
C++ compiler, you'll also need to set the CXX environment
variable:
CXX=compiler; export CXX
for Bourne and Korn shells, and:
setenv CXX "compiler"
for C shell.
COMPILING HTMLDOC UNDER UNIX
Just run "make" to build the software and generate the
documentation.
INSTALLING HTMLDOC UNDER UNIX
Run "make install" to install the software.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph