confluentinc / confluentinc/libserdes

Package files serdes.cp and serdes++.cp do not exist.

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12
Forks
62
PR merge metrics
No merged PRs in 30d

Description

When installing the library with "make install" the following output is printed:

_Install libserdes to /usr/local
install -d $DESTDIR/usr/local/include/libserdes ; \
install -d $DESTDIR/usr/local/lib ; \
install serdes.h serdes-common.h serdes-avro.h $DESTDIR/usr/local/include/libserdes ; \
install libserdes.a $DESTDIR/usr/local/lib ; \
install libserdes.1.dylib $DESTDIR/usr/local/lib ; \
[ -f "serdes.pc" ] && ( \
install -d $DESTDIR/usr/local/lib/pkgconfig ; \
install -m 0644 serdes.pc $DESTDIR/usr/local/lib/pkgconfig \
) ; \
(cd $DESTDIR/usr/local/lib && ln -sf libserdes.1.dylib libserdes.dylib)
Install libserdes++ to /usr/local
install -d $DESTDIR/usr/local/include/libserdes ; \
install -d $DESTDIR/usr/local/lib ; \
install serdescpp.h serdescpp-avro.h $DESTDIR/usr/local/include/libserdes ; \
install libserdes++.a $DESTDIR/usr/local/lib ; \
install libserdes++.1.dylib $DESTDIR/usr/local/lib ; \
[ -f "serdes++.pc" ] && ( \
install -d $DESTDIR/usr/local/lib/pkgconfig ; \
install -m 0644 serdes++.pc $DESTDIR/usr/local/lib/pkgconfig \
) ; \
(cd $DESTDIR/usr/local/lib && ln -sf libserdes++.1.dylib libserdes++.dylib)_

but no serdes.cp nor serdes++.cp are copied to /usr/local/lib/pkgconfig and therefore cannot be used by cmake **find_package** command.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `make install` rules shown in the issue and inspect how `serdes.pc` and `serdes++.pc` are generated and installed. Determine the package files required by CMake `find_package`, then verify installation places them under `/usr/local/lib/pkgconfig` or the appropriate CMake package directory and that a consumer can find the library.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.