[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz into a

From: Ant
Subject: Re: Compiling https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz into a local path/dir to run?
Date: Sat, 11 Mar 2023 10:34:35 -0800

> > In my updated 64-bit Debian bullseye OS, I followed
> > https://gitlab.com/gnuwget/wget2's instructions on downloading and
> > building from https://gnuwget.gitlab.io/wget2/wget2-latest.tar.gz.
> > However, I didn't want to use its "sudo make install" since I didn't
> > want to install to clean Debian globally. I just wanted to keep it local
> > in my account. I moved my ~/Downloads/wget2-2.0.1/src/wget2 into ~/bin/,
> > and tried to run wget2 but it gave me this error:
> > 
> > ./wget2: error: '/home/ant/bin/.libs/wget2' does not exist
> > 
> > It seems to depend on other files. How can I compile and run for my local
> > account only?
> > 
> > Thank you for reading and hopefully answering soon. :)
> The `sudo` only needs to be done because the default install directory
> belongs to root.
> You can set the default install directory with the --prefix=<directory>
> ./configure option. If you have write permissions to that directory, you
> don't need sudo.
> If you build a dynamic executable, you need to tell your system/loader where
> to find those libraries. On linux you normally can add the library directory
> to a file in `/etc/ld.so.conf.d/`. Use `sudo ldconfig` to update caches.
> But maybe your library path is already known, then you just have to `sudo
> ldconfig` to update the loader cache.
> The details may differ on your system, but this should point you into the
> right direction :)
> Regards, Tim

Thanks. I recompiled with ./configure --prefix=/home/ant/bin/wget2 and 
ran "make install" (no sudo) into my ~/bin/wget2. Now, I see include and lib 
subdirectories. Are those required to have?
"But in your hearts set apart Christ as Lord. Always be prepared to give an 
answer to everyone who asks you to give the reason for the hope that you have. 
But do this with gentleness and respect..." --1 Peter 3:15. 8 hrs. overnite 
hibernation with a long 4:30 AM pee break, Mar(10/io), rain, leaks, and 
upcoming March Madnesses again! :O
Note: A fixed width font (Courier, Monospace, etc.) is required to see this 
signature correctly.
  /\___/\             Ant(Dude) @ philpi@earthlink.net / ant@zimage.com
 / /\ /\ \                http://aqfl.net & http://antfarm.home.dhs.org
| |o   o| |
   \ _ /        Please kindly use Ant nickname & URL/link if crediting.
    ( )

reply via email to

[Prev in Thread] Current Thread [Next in Thread]