Hum, are you looking for a portable build? Try --enable-binreloc. I'm
not positive every plugin will also work properly if binary relocated,
but that's worth a try.
Otherwise, you'll want an absolute path that exist on all machines, and
build using this prefix. If you can trust e.g
/media/someuser/pendrive/geany will point to your USB thumbstick, then
use this prefix.
HTH,
Colomban
Le 03/07/2025 à 22:56, José via Users a écrit :
Hello,
I tried using it as follows:
I compiled Geany on my computer using:
./configure --prefix ~/Downloads/geany_COMPILADO
sudo make
sudo make install
Then I went to another computer where I wanted to run it without
administrator permissions and got the following errors:
otherPC@otherPC-PC:/media/otherPC/pendrive/geany_COMPILADO/bin$ ./
geany ./geany: error while loading shared libraries: libgeany.so.0:
cannot open shared object file: No such file or directory
otherPC@otherPC-PC:/media/otherPC/pendrive/geany_COMPILADO/bin$
LD_LIBRARY_PATH=../lib ./geany
(geany:27386): Geany-ERROR **: 17:48:06.022: Cannot create user-
interface: Failed to open file "/home/federico/Downloads/
geany_COMPILADO/share/geany/geany.glade": File or directory does not
exist "trap" for breakpoint/tracking (`core' generated)
otherPC@otherPC-PC:/media/otherPC/pendrive/geany_COMPILADO/bin$
What am I doing wrong?
El dom, 15 jun 2025 a la(s) 3:22 p.m., Frank Lanitz via Users
([email protected] <mailto:[email protected]>) escribió:
Hello,
On 15.06.25 17:33, Lucas Vieites via Users wrote:
> it has been a while since I last compiled something into my
home dir,
> but IIRC there's a parameter you can pass to /autogen.sh/
<http://autogen.sh/> or /
> configure/ and tell it where you want the target to be compiles/
installed.
I guess you are looking for the --prefix=$HOME configure-flag -- of
course you have to replace $HOME with something you like. If you
want to
be more specific …
--- cut ---
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data
[LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root
[PREFIX/share]
--datadir=DIR read-only architecture-independent data
[DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/geany]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
--- cut ---
Hope this helps,
Frank
_______________________________________________
Users mailing list -- [email protected]
<mailto:[email protected]>
To unsubscribe send an email to [email protected]
<mailto:[email protected]>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]