[Scribus] 0.9.11.1 more Make Error

Yann CANTIN yann.cantin
Wed Jun 18 01:00:14 CEST 2003


Salut

I download the 0.9.11.1 tarball at 22H30 (France) and there is still
some error when compiling on Mandrake 9.0 with it's stock qt-3.0.5.

I know this is a old qt version, that the following hack looks porky,
and maybe it brokes building with recent qt but i get scribus working
here, so if it could help...

This is the diffs :

diff multiline.cpp.orig multiline.cpp
168c168
< 	for (int it = TempVorl.count()-1; it > -1; it--)
> 	for (int it = TempVorl.size()-1; it > -1; it--)
248c248
< 	multiLine::Iterator it3;
> 	multiLine::iterator it3;
259c259
< 	multiLine::Iterator it2;
> 	multiLine::iterator it2;
283c283
< 	multiLine::Iterator it;
> 	multiLine::iterator it;
338c338
< 	multiLine::Iterator it2;
> 	multiLine::iterator it2;
360c360
< 	if (TempVorl.count() == 1)
> 	if (TempVorl.size() == 1)
363c363
< 	multiLine::Iterator it3;
> 	multiLine::iterator it3;


diff scribusXml.cpp.orig scribusXml.cpp
279c279
< 				ml.append(sl);
> 				ml.push_back(sl);
811c811
< 				ml.append(sl);
> 				ml.push_back(sl);
1307c1307
< 				ml.append(sl);
> 				ml.push_back(sl);
1905c1905
< 		multiLine::Iterator itMU2;
> 		multiLine::iterator itMU2;
2280c2280
< 	multiLine::Iterator itMU2;
> 	multiLine::iterator itMU2;

diff scribusview.cpp.orig scribusview.cpp (tab cleaned for width)
1003c1003
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)
1331c1331
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)
1560c1560
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)
1614c1614
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)
1636c1636
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)
1661c1661
<	for (int it = ml.count()-1; it > -1; it--)
>	for (int it = ml.size()-1; it > -1; it--)


By the way, 2 little problems on Mandrake9 :
- I need to add -lm for linking against libtiff (call to pow, seems like
a broken dependence in the Mandrake package)
- the lcms headers are in /usr/include/lcms/. It's checked by configure
but it's not fixed in the Makefile.

Hope this could help, and many thanks for all your job on Scribus. 

-- 
A++
Yann CANTIN
--




More information about the scribus mailing list