tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GSoC Project Progress Update: Apropos Replacement



On Thu, Jun 23, 2011 at 2:29 AM, Thomas Klausner <wiz%netbsd.org@localhost> 
wrote:
> On Thu, Jun 23, 2011 at 02:08:59AM +0530, Abhinav Upadhyay wrote:
>> I made a more detailed report on my blog where I have disucssed the
>> issues fixed, and also how to get the code and try it out.
>> http://abhinav-upadhyay.blogspot.com/2011/06/netbsd-gsoc-weekly-report-3.html
>
> I tried building it:
> # git clone git://github.com/abhinav-upadhyay/apropos_replacement.git
> Cloning into apropos_replacement...
> remote: Counting objects: 56, done.
> remote: Compressing objects: 100% (46/46), done.
> remote: Total 56 (delta 26), reused 19 (delta 5)
> Receiving objects: 100% (56/56), 1.20 MiB | 338 KiB/s, done.
> Resolving deltas: 100% (26/26), done.
> # cd apropos_replacement
> # make
> rm -f .gdbinit
> touch .gdbinit
> #   compile  apropos_replacement/makemandb.o
> gcc -O2  -std=gnu99 -Werror    -I/usr/src/external/bsd/mdocml/dist 
> -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS  -c    makemandb.c
> #   compile  apropos_replacement/sqlite3.o
> gcc -O2  -std=gnu99 -Werror    -I/usr/src/external/bsd/mdocml/dist 
> -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS  -c    sqlite3.c
> #      link  apropos_replacement/makemandb
> gcc        -o makemandb  makemandb.o sqlite3.o     
> -L/usr/src/external/bsd/mdocml/lib/libmandoc -lmandoc   -Wl,-rpath-link,/lib 
>  -L=/lib
> ld: cannot find -lmandoc
> *** Error code 1
>
> Stop.
> make: stopped in /path/apropos_replacement
>
> It seems I need to compile and install libmandoc? Which version?
>  Thomas
>

Yes, forgot to mention the dependency on libmandoc :-| make will
search for libmandoc in /usr/src/external/bsd/mdocml/lib/libmandoc .
Running make && make install in /usr/src/externa/bsd/mdocml should
build it :-)

I am using the version in -current which is 1.11.1. Also with this the
-current version of man pages will be required because with the
version 5.1 man pages, libmandoc was leading to an assertion failure
for some particular man pages.

Thanks
Abhinav


Home | Main Index | Thread Index | Old Index