Hi,
"are you looking for a portable build?" YES

" If you can trust e.g  /media/someuser/pendrive/geany will point to your
USB thumbstick"
I think so, something like /home/Student. Although I would have to take a
closer look at some point when I go there.

I just tried using --bin-reloc as follows:
./configure --enable-binreloc --prefix ~/Downloads/geany_COMPILADO
sudo make
make install
But I'm having the same problem again:
someuser@someuser-PC:/media/someuser/pendrive/geany_COMPILADO/bin$ ./geany

(geany:104950): Geany-ERROR **: 21:01:44.320: Cannot create user-interface:
Failed to open file 'geany.glade': No such file or directory
'trap' for breakpoint/trace (generated `core')

Also tried this other variant:
./configure --enable-binreloc --prefix
/media/someuser/pendrive/GEANY_PORTABLE
sudo make
sudo make install

Where /media/someuser/pendrive/GEANY_PORTABLE is the path where the
pendrive is mounted on the other PC.
But I get the same error when I try to run it on the other PC.

What am I doing wrong?


El dom, 6 jul 2025 a la(s) 4:21 p.m., Colomban Wendling via Users (
users@lists.geany.org) escribió:

> 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
> > (users@lists.geany.org <mailto:users@lists.geany.org>) 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 -- users@lists.geany.org
> >     <mailto:users@lists.geany.org>
> >     To unsubscribe send an email to users-le...@lists.geany.org
> >     <mailto:users-le...@lists.geany.org>
> >
> >
> > _______________________________________________
> > Users mailing list -- users@lists.geany.org
> > To unsubscribe send an email to users-le...@lists.geany.org
>
> _______________________________________________
> Users mailing list -- users@lists.geany.org
> To unsubscribe send an email to users-le...@lists.geany.org
>
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org

Reply via email to