Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Alien-AntTweakBar CPAN distribution.

Report information
The Basics
Id: 96811
Status: resolved
Priority: 0/
Queue: Alien-AntTweakBar

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.01
Fixed in: 0.02_06



Subject: DOS newline problems (?)
Here's a report of an unsuccessful build on a freebsd 9.2 system: http://www.cpantesters.org/cpan/report/748535c2-fefc-11e3-9a71-5096dfbfc7aa It looks like DOS newlines are disturbung here, possibly created by using the inc/makefile-so-linking.patch file.
Thank you for report! The problem seems in hard-coded into Makefile "linuxism": gcc has been used instead of cc in the original library. I have fixed that and probably a few minor ones, but I'm not sure that it will be OK for FreeBSD. Thanks once more!
On 2014-06-29 14:46:08, DMOL wrote: Show quoted text
> Thank you for report! > > The problem seems in hard-coded into Makefile "linuxism": gcc has been > used instead of cc in the original library. > > I have fixed that and probably a few minor ones, but I'm not sure that > it will be OK for FreeBSD.
Unfortunately I still see problems with DOS newlines (Alien-AntTweakBar-0.02_03, FreeBSD 9.2). The build output looks like this: ... Building library ... ===== Compile TwColors.cpp ===== gcc^M -c -O3^M -Wall -fPIC -fno-strict-aliasing -D_UNIX -D__PLACEMENT_NEW_INLINE^M -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/include^M -o TwColors.o TwColors.cpp gcc^M: No such file or directory *** [TwColors.o] Error code 1 ... Additionally, gcc is still used on FreeBSD 10.0, which does not have gcc anymore by default. Instead you should use cc here (or alternatively clang). Regards, Slaven
Thank you again! I decided to ship Makefile within distribution instead of fixing line endings and applying patches.