Recently I downloaded the synfigstudio and want build openSUSE rpm, when I
compile this program I found a problem.

My download link is :
(
http://downloads.sourceforge.net/project/synfig/releases/1.0/source/synfig-1.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsynfig%2Ffiles%2Freleases%2F1.0%2Fsource%2F&ts=1431050339&use_mirror=tcpdiag
)

In synfig-1.0/configure(yes, the synfig-core part):

... checking for debug flags ...
....
 6120     CXXFLAGS="`echo $CXXFLAGS | sed s:-g::` $debug_flags"
 6121     CFLAGS="`echo $CFLAGS | sed s:-g::` $debug_flags"
.....

These two lines simply remove "-g" from these two variables, but the build
system passed in a gcc option :

-grecord-gcc-switches

After this debug flags checking step , the CXXFLAGS variables change to :

CXXFLAGS=(other options) record-gcc-switches (other options)

now, following check will treat record-gcc-switches as a file!!!

This finally cause a problem let it keeps saying zlib not found (which
already installed ) and lead to the failure of the build.

I do not know much of autoconf tools, but the configure file generated used
a silly way to remove "-g" flags.

If you need more infomation to fix this bug, please contact me, I will show
you how to trace this.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to