./autogen.sh
./configure --prefix=/home/USERFILE/geany_build --disable-html-docs
sudo make
make install
cd ../bin
./geany -c ../config

make must be called as and if at all only make install with sudo.
But since you install into your home directory, you don't need sudo at all.

sciwrappers.c: In function ‘sci_set_lexer’:
sciwrappers.c:679:9: warning: ‘LexerNameFromID’ is deprecated [-Wdeprecated-declarations]
  679 |         ILexer5 *lexer = CreateLexer(LexerNameFromID(lexer_id));
      |         ^~~~~~~
In file included from sciwrappers.c:38:
../scintilla/lexilla/include/Lexilla.h:91:47: note: declared here
   91 | DEPRECATE_DEFINITION const char *LEXILLA_CALL LexerNameFromID(int identifier);
      |                                               ^~~~~~~~~~~~~~~

This is a harmless warning, can be ignored.

libtool: warning: relinking 'classbuilder.la'
mv: cannot move 'classbuilder.so' to 'classbuilder.soU': Permission denied
libtool:   error: error: relink 'classbuilder.la' with the above command before installing it
make[2]: *** [Makefile:629: install-pluginLTLIBRARIES] Error 1
make[2]: Leaving directory '/home/t/geany_build/geany_git/plugins'
make[1]: *** [Makefile:911: install-am] Error 2
make[1]: Leaving directory '/home/t/geany_build/geany_git/plugins'
make: *** [Makefile:590: install-recursive] Error 1

This is a follow-up error because make was executed with sudo.

Best you clean up your environment and try again.

Use sudo chown -R t:t /home/t/geany_build/geany_git (assuming "t" is your username). Afterwards run make and make install again.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3271/1236372264@github.com>