NetBSD-Bugs archive

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

lib/46834: Cannot build X



>Number:         46834
>Category:       lib
>Synopsis:       Cannot build X
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 25 07:05:00 +0000 2012
>Originator:     RIfat Mahmud
>Release:        5.1 source cd ISO
>Organization:
>Environment:
Linux rifat-K40IJ 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 
i686 i686 i386 GNU/Linux

>Description:
While building the X on my machine, the build aborted and was unsuccessful.

It ended with failure to find bzlib.h.

http://pastebin.com/xiNamaEc

The include libraries on the command didn't contain bzlib.h. It was placed 
elsewhere, so I decided to explicitly write the locateion on bunzip2.c.
>How-To-Repeat:
./build.sh -m i386 tools
./build.sh -m i386 kernel=GENERIC
./build.sh -U -u -m i386 release
./build.sh -U -u -x -X<Your /usr/xsrc location> -m i386 release
>Fix:
I hardcoded the bzlib.h location into bunzip2.c with this patch.

http://pastebin.com/FXg2Sns5

This patch is specific about my machine. There should be a way to include the 
directory '/usr/src/obj/destdir.i386/usr/include/' in the makefile.



Home | Main Index | Thread Index | Old Index