[Cin] [patch] try to use pkg-config in cinelerra/Makefile
Andrew Randrianasulu
randrianasulu at gmail.com
Tue Jul 20 23:39:18 CEST 2021
ow, its strange.. do you have pkg-config installed there, and does it show
correct thing if you call it like in patch?
pkg-config --cflags-only-I x11
On Wednesday, July 21, 2021, Phyllis Smith via Cin <
cin at lists.cinelerra-gg.org> wrote:
> Andrew,
> Since I had ubuntu 16 booted, I tested this but had a problem. I have not
> tested on Fedora yet.
>
> 1) checked to make sure patch went in OK (I have the whole Makefile, but
> just listing part here to show):
>
> ifneq ($(WANT_SHUTTLE),no)
> X11_INCS := $(shell pkg-config --cflags-only-I x11 | sed "s/-I//")
>
> $(OBJDIR)/shuttle.o: shuttle.C shuttle_keys.h
> shuttle_keys.h: $(X11_INCS)/X11/keysymdef.h
> sed -n $(X11_INCS)/X11/keysymdef.h > shuttle_keys.h -f shuttle.sed
> endif
>
> $(OBJDIR)/pluginlv2gui.o: pluginlv2gui.C
> $(CXX) `cat $(OBJDIR)/c_flags` $(GTK2_INCS) -DMSGQUAL=$* -c $< -o
> $@
>
> 2) log file error message when building is (also have entire log, but just
> listing part here to show):
>
> make[2]: *** No rule to make target '/X11/keysymdef.h', needed by
> 'shuttle_keys.h'. Stop.
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/tmp/cinelerra-5.1/cinelerra'
> Makefile:528: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/cinelerra-5.1'
> Makefile:484: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> On Sun, Jul 18, 2021 at 2:43 PM Andrew Randrianasulu via Cin <
> cin at lists.cinelerra-gg.org> wrote:
>
>> for handling termux-specific x11 path w/o hardcoding it...
>>
>> can anyone test on normal Linux?
>>
>>
>> --
>> Cin mailing list
>> Cin at lists.cinelerra-gg.org
>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20210721/cc38e1ec/attachment-0001.htm>
More information about the Cin
mailing list