[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    sed pb on Solaris 2.7 in kivio
From:       Julien Gilles <julien.gilles () bcv01y01 ! vz ! cit ! alcatel ! fr>
Date:       2001-05-31 8:50:22
[Download RAW message or body]


/udir/gilles/local/qt-copy/bin/uic -tr i18n -i kivioabout.h ./kivioabout.ui | sed -e \
"s,i18n( \"\" ),QString::null,g" >> kivioabout.cpp || rm -f kivioabout.cpp echo \
                '#include "kivioabout.moc"' >> kivioabout.cpp
/bin/sh ../../../libtool --mode=compile --tag=CXX g++ -D [...snip...]
kivioabout.cpp: In method `KivioAbout::KivioAbout(QWidget * = 0, const char * = 0, \
bool = FALSE, unsigned int = 0)': kivioabout.cpp:3309: `License' undeclared (first \
use this function) kivioabout.cpp:3309: (Each undeclared identifier is reported only \
once kivioabout.cpp:3309: for each function it appears in.)
kivioabout.cpp:3309: parse error before string constant
kivioabout.cpp:3365: stray '\' in program
kivioabout.cpp:3365: stray '\' in program
kivioabout.cpp:4805: Unterminated string
make: *** [kivioabout.lo] Error 1

Actually the problem is that the line containing the license is
truncated : ( I remove the big part in [...] )

    TextView3->setText( i18n( "This program is distributed [...]
   from the Program\nis covered only if its contents constitute a work b

    tabLayout->addWidget( TextView3, 0, 0 );
    tabWidget->insertTab( tab, i18n( "&License" ) );

In fact the bug comes from sed : /bin/sed produces bad output, but
using the GNU one, the bug is fixed.

I don't know if a workaround is possible (instead of installing the
GNU version), perhaps a SUN patch is available ; one could add a
warning in the configure script...

my two euro-cent.

-- 
Julien Gilles.
 
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic