Re: Mock: cmake having trouble finding libclaw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It may be necessary to debug the cmake libclaw detection script.

claw-config is broken, btw, and it's likely that this has not been
caught during review:

  $ claw-config --libs
  -L/usr/lib 
  $ claw-config application --libs 
  -L/usr/lib -lclaw_application -lclaw_logger
  $ claw-config dynamic_library --libs
  -L/usr/lib -lclaw_dynamic_library -ldl

Wrong on x86_64.
And odd to relink with libdl as libclaw_dynamic_library is linked with
libdl already.


 $ claw-config all --libs 
-L/usr/lib -lclaw_application -lclaw_logger -lclaw_dynamic_library -ldl
-lclaw_configuration_file -lclaw_graphic -lpng -lz -ljpeg -lclaw_logger
-lclaw_net -lclaw_tween

Is relinking with all those non-libclaw libs necessary? It seems they are
for linking statically only.


  $ claw-config --cflags
  -I/usr/include/ -DCLAW_JPEG_SUPPORT -DCLAW_PNG_SUPPORT

This -I parameter is not only superfluous (because /usr/include is
standard search path), but may also be harmful, since it alters the
search order.

Further packaging issues:

  $ rpmls libclaw|grep claw1
  drwxr-xr-x  /usr/share/doc/libclaw1
  -rw-r--r--  /usr/share/doc/libclaw1/COPYING

Why "libclaw1" and not %name?
No %license usage.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux