Problem compiling source-highlight on Mac OS 10.4.2

View: New views
2 Messages — Rating Filter:   Alert me  

Problem compiling source-highlight on Mac OS 10.4.2

by Juniper Hunter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've been trying to compile source-highlight-2.1.2
(from ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.1.2.tar.gz )
on Mac OS 10.4.2 (gcc version 4.0.0 20041026) without success.

I finally figured out how to get `configure` to run to completion
( it had been failing with "ERROR! Boost::regex library not  
installed." ) :
   % setenv LD_LIBRARY_PATH "/usr/local/lib/"
   % setenv DYLD_LIBRARY_PATH "/usr/local/lib/"
   % setenv CPPFLAGS "-I/usr/local/include/boost-1_33"
   % setenv LDFLAGS "-L/usr/local/lib"
   % sh reconf
   % sh ./configure CPPFLAGS=-I/usr/local/include/boost-1_33 --with-
boost-regex=1_33

But now I'm unable to get compilation to complete:
( Note that this is a second run; I'll spare you the verbose output  
of the first. )
   % make
cd . && /bin/sh /Users/juniper/Code/source-highlight-2.1.2/missing --
run automake-1.6 --gnu
make  all-recursive
cd . && /bin/sh /Users/juniper/Code/source-highlight-2.1.2/missing --
run automake-1.6 --gnu
Making all in src
cd .. && /bin/sh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
Making all in lib
cd ../.. && /bin/sh ./config.status src/lib/Makefile depfiles
config.status: creating src/lib/Makefile
config.status: executing depfiles commands
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in includes
cd ../.. && /bin/sh ./config.status src/includes/Makefile
config.status: creating src/includes/Makefile
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in doc
cd .. && /bin/sh ./config.status doc/Makefile
config.status: creating doc/Makefile
make[2]: *** No rule to make target `source-highlight.html', needed  
by `all-am'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any assistance would be greatly appreciated.

-Juniper



_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight

Re: Problem compiling source-highlight on Mac OS 10.4.2

by Lorenzo Bettini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Juniper Hunter wrote:

> I've been trying to compile source-highlight-2.1.2
> (from ftp://ftp.gnu.org/gnu/src-highlite/source-highlight-2.1.2.tar.gz )
> on Mac OS 10.4.2 (gcc version 4.0.0 20041026) without success.
>
> I finally figured out how to get `configure` to run to completion
> ( it had been failing with "ERROR! Boost::regex library not  installed."
> ) :
>   % setenv LD_LIBRARY_PATH "/usr/local/lib/"
>   % setenv DYLD_LIBRARY_PATH "/usr/local/lib/"
>   % setenv CPPFLAGS "-I/usr/local/include/boost-1_33"
>   % setenv LDFLAGS "-L/usr/local/lib"
>   % sh reconf
>   % sh ./configure CPPFLAGS=-I/usr/local/include/boost-1_33 --with-
> boost-regex=1_33
>
> Making all in doc
> cd .. && /bin/sh ./config.status doc/Makefile
> config.status: creating doc/Makefile
> make[2]: *** No rule to make target `source-highlight.html', needed  by
> `all-am'.  Stop.
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Any assistance would be greatly appreciated.

Hi!

source-highlight.html is part of the documentation and the tarbal
already provides that file.  Probably you issued a make clean that
removed that file I guess...  please try to untar the tarbal in a brand
new directory.

Moreover, when it comes to source-highlight.html it means that it has
already built the executable, so, basically, the program itself is ready
to be used

please let me know

cheers
     Lorenzo

--
+-----------------------------------------------------+
|  Lorenzo Bettini          ICQ# lbetto, 16080134     |
|  PhD in Computer Science                            |
|  Dip. Sistemi e Informatica, Univ. di Firenze       |
|  Florence - Italy        (GNU/Linux User # 158233)  |
|  Home Page        : http://www.lorenzobettini.it    |
|  http://music.dsi.unifi.it         XKlaim language  |
|  http://www.lorenzobettini.it/purple    Cover Band  |
|  http://www.gnu.org/software/src-highlite           |
|  http://www.gnu.org/software/gengetopt              |
|  http://www.lorenzobettini.it/software/gengen       |
|  http://www.lorenzobettini.it/software/doublecpp    |
+-----------------------------------------------------+


_______________________________________________
Help-source-highlight mailing list
Help-source-highlight@...
http://lists.gnu.org/mailman/listinfo/help-source-highlight