Re: Compile fix with CVS for Fedora Core 4



 On Sun, 2005-06-26 at 20:21 +0100, Richard Hughes wrote:
> When compiling gnome-pilot CVS for FC4 I get the following output when
> running ./autogen
> 
> <snip>
> configure: creating ./config.status
> config.status: creating Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating gnome-pilot.spec
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating gpilotd/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating applet/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating conduits/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating conduits/backup/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating conduits/file/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating conduits/test/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating capplet/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating utils/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating idl/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating libgpilotdCM/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating po/Makefile.in
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating help/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating help/C/Makefile
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating gnome-pilot-2.0.pc
> sed: file ./confstatU18544/subs-3.sed line 35: unterminated `s' command
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing intltool commands
> config.status: executing default-1 commands
> 
>   Configuration :
> 
>           gnome-vfs    : yes
>           network sync : yes
>           usb          : yes
>           gob          : yes
>           pilot-link   : 0
>         ((PILOT_LINK_VERSION > a) || \
>         ((PILOT_LINK_VERSION == a) && \.12
>                 ((PILOT_LINK_MAJOR > b) || \
>                 ((PILOT_LINK_MAJOR == b) && (PILOT_LINK_MINOR >=
> c))))).0
>                 ((PILOT_LINK_MAJOR == b) && (PILOT_LINK_MINOR >=
> c)))))-pre3
> 
> Now type `make' to compile gnome-pilot
> <snip>
> 
> Make fails as Makefile has no contents.
> 
> Spot the obvious error:
> 
> [hughsie hughsie gnome-pilot]$ cat /usr/include/pi-version.h|grep
> PILOT_LINK_VERSION
> #define PILOT_LINK_VERSION 0
>         ((PILOT_LINK_VERSION > a) || \
>         ((PILOT_LINK_VERSION == a) && \
> 
> When the autogen script assumes it will be returned:
> 
> [hughsie hughsie gnome-pilot]$ cat /usr/include/pi-version.h|grep
> "define PILOT_LINK_VERSION"
> #define PILOT_LINK_VERSION 0
> 
> I'm not sure if this is a FC4 specific patch, but I thought I would post
> the patch I used to fix this in case anyone was having the same problem.
> 
> Not sure if this should be committed or not. Up to you guys.
> 
> Patch included as an attachment. This one issue confused me for a few
> hours.

There is a patch in bugzilla for this already, its because the macros in
0.12 changed (in fact the fedora package has a patch for this).

-JP
-- 
JP Rosevear <jpr novell com>
Novell, Inc.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]