Re: Failure to make dist on Mac

2021-11-28 Thread Stephan Witt
Am 27.11.2021 um 18:36 schrieb Pavel Sanda :
> 
> On Sat, Nov 27, 2021 at 09:47:36AM +0100, Stephan Witt wrote:
>> 2. Step - make dist
>> 
>> $ (cd lyx-build/LyX-2.3.6dev.build;make dist)
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  dist-bzip2 
>> dist-gzip am__post_remove_distdir='@:'
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>> if test -d "LyX-2.3-2.3.6dev"; then find "LyX-2.3-2.3.6dev" -type d ! -perm 
>> -200 -exec chmod u+w {} ';' && rm -rf "LyX-2.3-2.3.6dev" || { sleep 5 && rm 
>> -rf "LyX-2.3-2.3.6dev"; }; else :; fi
>> test -d "LyX-2.3-2.3.6dev" || mkdir "LyX-2.3-2.3.6dev"
>> (cd 3rdparty && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
>> top_distdir=../LyX-2.3-2.3.6dev distdir=../LyX-2.3-2.3.6dev/3rdparty \
>> am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>> (cd boost && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
>> top_distdir=../../LyX-2.3-2.3.6dev 
>> distdir=../../LyX-2.3-2.3.6dev/3rdparty/boost \
>> am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>> (cd hunspell && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
>> top_distdir=../../LyX-2.3-2.3.6dev 
>> distdir=../../LyX-2.3-2.3.6dev/3rdparty/hunspell \
>> am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
>> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>> make[6]: *** No rule to make target `1.6.2/src/hunspell/affentry.cxx', 
>> needed by `distdir-am'.  Stop.
>> 
>> What am I doing wrong? Is hunspell 1.6.2 required to put somewhere? Is it 
>> required to configure LyX with the matching hunspell included?
> 
> Seems to work on the current branch (2.3.7dev).

Yes, it works. I used a mix of some old build directory and current branch 
checkout.
I missed the wrong version number in path name.

Thank you for checking.

Stephan
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Failure to make dist on Mac

2021-11-27 Thread Pavel Sanda
On Sat, Nov 27, 2021 at 09:47:36AM +0100, Stephan Witt wrote:
> 2. Step - make dist
> 
> $ (cd lyx-build/LyX-2.3.6dev.build;make dist)
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  dist-bzip2 dist-gzip 
> am__post_remove_distdir='@:'
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
> if test -d "LyX-2.3-2.3.6dev"; then find "LyX-2.3-2.3.6dev" -type d ! -perm 
> -200 -exec chmod u+w {} ';' && rm -rf "LyX-2.3-2.3.6dev" || { sleep 5 && rm 
> -rf "LyX-2.3-2.3.6dev"; }; else :; fi
> test -d "LyX-2.3-2.3.6dev" || mkdir "LyX-2.3-2.3.6dev"
>  (cd 3rdparty && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
> top_distdir=../LyX-2.3-2.3.6dev distdir=../LyX-2.3-2.3.6dev/3rdparty \
>  am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>  (cd boost && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
> top_distdir=../../LyX-2.3-2.3.6dev 
> distdir=../../LyX-2.3-2.3.6dev/3rdparty/boost \
>  am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
>  (cd hunspell && /Applications/Xcode.app/Contents/Developer/usr/bin/make  
> top_distdir=../../LyX-2.3-2.3.6dev 
> distdir=../../LyX-2.3-2.3.6dev/3rdparty/hunspell \
>  am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> /Applications/Xcode.app/Contents/Developer/usr/bin/make  distdir-am
> make[6]: *** No rule to make target `1.6.2/src/hunspell/affentry.cxx', needed 
> by `distdir-am'.  Stop.
> 
> What am I doing wrong? Is hunspell 1.6.2 required to put somewhere? Is it 
> required to configure LyX with the matching hunspell included?

Seems to work on the current branch (2.3.7dev).

Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel