libical 2.0.0 - more build-related issues

Allen Winter winter at kde.org
Tue Jan 19 13:55:47 PST 2016


On Monday, January 18, 2016 05:36:47 PM Milan Crha wrote:
> 	Hello again,
> I found more issues with libical 2.0.0.
> 
> One serious, there is a typo in src/libical/icallangbind.h:
>    LIBICAL_ICAL_EXPORT char *callangbind_quote_as_ical_r(const char *str);
> it should read:
>    LIBICAL_ICAL_EXPORT char *icallangbind_quote_as_ical_r(const char *str);
> Added 'i' as the prefix for the function name.
> 
yes, someone else already reported this and it was fixed in 35b46c0f53cae175ff96dbd982bf582e1331468c

> Another is a "nitpick". I'm compiling in a 64bit environment, but I
> want to install libraries into my own prefix (aka not xxx/lib64/, but
> xxx/lib/). The parameters passed to cmake seem to be ignored:
> 
>    $ cmake -G "Unix Makefiles" \
>           -DCMAKE_INSTALL_PREFIX:PATH=/tmp/local \
>           -DLIB_INSTALL_DIR:PATH=/tmp/local/lib \
>           ..

The trick is to use -DCMAKE_INSTALL_LIBDIR:PATH=/tmp/local/lib 
instead of  -DLIB_INSTALL_DIR:PATH=/tmp/local/lib

I'll add this hint to the Install.txt file and/or the wiki

Thanks for reporting.
-Allen

>    $ make
>    ...
>    $ make install
>    ...
>    [100%] Building C object examples/CMakeFiles/doesnothing.dir/parse_text.c.o
>    [100%] Linking C executable ../bin/doesnothing
>    [100%] Built target doesnothing
>    Install the project...
>    -- Install configuration: ""
>    -- Installing: /tmp/local/lib64/pkgconfig/libical.pc
>    -- Installing: /tmp/local/lib64/cmake/LibIcal/LibIcalConfigVersion.cmake
>    -- Installing: /tmp/local/lib64/cmake/LibIcal/LibIcalConfig.cmake
>    -- Installing: /tmp/local/lib64/cmake/LibIcal/LibIcalTargets.cmake
>    -- Installing: /tmp/local/lib64/cmake/LibIcal/LibIcalTargets-noconfig.cmake
>    -- Installing: /tmp/local/lib64/libical.so.2.0.0
>    -- Installing: /tmp/local/lib64/libical.so.2
>    -- Installing: /tmp/local/lib64/libical.so
>    -- Installing: /tmp/local/lib64/libical.a
>    ...
> 
> It would be nice to have both things fixed in the next release.
> 	Thanks and bye,
> 	Milan
> 
> 
> _______________________________________________
> libical-devel mailing list
> libical-devel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libical-devel




More information about the libical-devel mailing list