Hello,
I would like to compile this, but not sure if this can be done on puppy.
To build tmux from a release tarball, do:
$ ./configure && make
$ sudo make install
Can this be done on puppy?
How to compile tmux? solved
How to compile tmux? solved
Last edited by oldyeller on Mon 22 Oct 2012, 15:26, edited 2 times in total.
Hi, oldyeller.
You don't need to "sudo" on Puppy, since we're already "root".
The usual sequence under Puppy is:
This installs the program in /usr/bin or in /usr/local/bin (the usual spot if you don't tweek the "configure" command).
Two refinements of the above line are possible, but mutually exclusive:
1)
This installs the program in /your/chosen/path with all the necessary subdirs in it. You can then make a pet by issuing
# Because, to do this properly, you have to be one level above the directory that contains your program.
# the name of the top dir of the program + the v. number (if applicable)
2) Exclusive OR # If you use #1 above don't use this one, and vice versa.
The second refinement is to type
# Available only in Puppy.
I hope this helps.
You don't need to "sudo" on Puppy, since we're already "root".
The usual sequence under Puppy is:
Code: Select all
./configure # also ok: sh configure
make
make install
Two refinements of the above line are possible, but mutually exclusive:
1)
Code: Select all
make DESTDIR=/your/chosen/path install
Code: Select all
cd ProgramDir
cd ..
Code: Select all
dir2pet ProgramDir-VersionNumber
2) Exclusive OR # If you use #1 above don't use this one, and vice versa.
The second refinement is to type
Code: Select all
new2dir make install
I hope this helps.
Last edited by musher0 on Fri 12 Oct 2012, 14:20, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Because the default library search path, in puppy, includes /usr/lib but not /usr/local/lib, it's best to run:
Code: Select all
./configure --prefix=/usr
make
make DESTDIR=/your/chosen/path install
True.muggins wrote:Because the default library search path, in puppy, includes /usr/lib but not /usr/local/lib, it's best to run:
Code: Select all
./configure --prefix=/usr make make DESTDIR=/your/chosen/path install
But if you so choose, you can make libraries in /usr/local/lib visible to your Puppy path by adding the reference to line 3 of file /etc/profile, like so:
Code: Select all
LD_LIBRARY_PATH="/lib:/usr/lib:/usr/X11R7/lib:/usr/local/lib:/root/my-applications/lib"
Just my 2 cents. BFN.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)
Hello,
I also had to download this libevent
These are my options I know that I don't have to do sudo since I am already running as root. It is what follows that I am not sure of. In (blue text)
$ ./configure
$ make
$ make verify # (optional)
$ sudo make install
1. BUILDING AND INSTALLATION (In Depth)
To build libevent, type
$ ./configure && make
(If you got libevent from the git repository, you will
first need to run the included "autogen.sh" script in order to
generate the configure script.)
You can run the regression tests by running
$ make verify
Install as root via
# make install
Before, reporting any problems, please run the regression tests.
To enable the low-level tracing build the library as:
CFLAGS=-DUSE_DEBUG ./configure [...]
Standard configure flags should work. In particular, see:
--disable-shared = Only build static libraries
--prefix = Install all files relative to this directory.
The configure script also supports the following flags:
--enable-gcc-warnings = Enable extra compiler checking with GCC.
--disable-malloc-replacement = Don't let applications replace our memory management functions
--disable-openssl = Disable support for OpenSSL encryption.
--disable-thread-support = Don't support multithreaded environments.
I also had to download this libevent
These are my options I know that I don't have to do sudo since I am already running as root. It is what follows that I am not sure of. In (blue text)
$ ./configure
$ make
$ make verify # (optional)
$ sudo make install
1. BUILDING AND INSTALLATION (In Depth)
To build libevent, type
$ ./configure && make
(If you got libevent from the git repository, you will
first need to run the included "autogen.sh" script in order to
generate the configure script.)
You can run the regression tests by running
$ make verify
Install as root via
# make install
Before, reporting any problems, please run the regression tests.
To enable the low-level tracing build the library as:
CFLAGS=-DUSE_DEBUG ./configure [...]
Standard configure flags should work. In particular, see:
--disable-shared = Only build static libraries
--prefix = Install all files relative to this directory.
The configure script also supports the following flags:
--enable-gcc-warnings = Enable extra compiler checking with GCC.
--disable-malloc-replacement = Don't let applications replace our memory management functions
--disable-openssl = Disable support for OpenSSL encryption.
--disable-thread-support = Don't support multithreaded environments.