-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
252 changed files
with
20,871 additions
and
4,769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,2 @@ | ||
autom4te.cache/ | ||
configure | ||
config.log | ||
config.status | ||
*.o | ||
nmicmpd | ||
nmtrapd | ||
scotty | ||
tnm.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# | ||
# This is a convenience Makefile for building and installing _scotty_ | ||
# on some platforms. | ||
# | ||
|
||
PLATFORMS = jessie yakkety freebsd alpine macosx | ||
|
||
all: | ||
@echo | ||
@echo "This is a Makefile for convenient building and installing" | ||
@echo "of scotty with standard configuration." | ||
@echo | ||
@echo "Typical invocation:" | ||
@echo " make _platform_" | ||
@echo " make build" | ||
@echo " sudo make install" | ||
@echo | ||
@echo "Other targets: clean uninstall distclean" | ||
@echo | ||
@echo Available platform targets: $(PLATFORMS) | ||
@echo | ||
|
||
jessie yakkety freebsd slackware: | ||
(cd tnm && autoheader && autoconf && ./configure) | ||
(cd tkined && autoheader && autoconf && ./configure) | ||
|
||
alpine: | ||
(cd tnm && autoheader && autoconf && ./configure --with-tirpc) | ||
(cd tkined && autoheader && autoconf && ./configure) | ||
|
||
macosx: | ||
(cd tnm && autoheader && autoconf \ | ||
&& ./configure --bindir=/usr/local/bin/ --libdir=/Library/Tcl) | ||
(cd tkined && autoheader && autoconf \ | ||
&& ./configure --bindir=/usr/local/bin/ --libdir=/Library/Tcl) | ||
|
||
netbsd: | ||
(cd tnm && autoheader && autoconf \ | ||
&& ./configure --with-tcl=/usr/pkg/lib) | ||
(cd tkined && autoheader && autoconf \ | ||
&& ./configure --with-tcl=/usr/pkg/lib --with-tk=/usr/pkg/lib) | ||
|
||
build: | ||
(cd tnm && make) | ||
(cd tkined && make) | ||
|
||
install: | ||
(cd tnm && make install sinstall) | ||
(cd tkined && make install) | ||
|
||
uninstall: | ||
(cd tnm && make uninstall) | ||
(cd tkined && make uninstall) | ||
|
||
clean: | ||
(cd tnm && make clean) | ||
(cd tkined && make clean) | ||
|
||
distclean: | ||
(cd tnm && make distclean) | ||
(cd tkined && make distclean) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
This file is part of the _scotty_ Tcl extension for network | ||
management. It describes how to build on different platforms. | ||
|
||
Debian, Ubuntu | ||
============== | ||
|
||
Needed packages to be install with `apt-get`: | ||
|
||
build-essentials tcl8.6-dev tk8.6-dev autoconf | ||
|
||
Configure with: | ||
|
||
./configure | ||
|
||
|
||
Alpine Linux | ||
============ | ||
|
||
From a default install to _scotty_ on [Alpine Linux][] you need to | ||
install the following packages with `apk add`: | ||
|
||
build-base linux-headers tcl-dev tk-dev libtirpc-dev | ||
|
||
Configure the build with: | ||
|
||
./configure --with-tirpc | ||
|
||
Alpine Linux does not build against the GNU C Library (glibc), instead | ||
it uses the [musl libc][]. _musl_ does not feature a complete Sun RPC | ||
implementation, but Alpine packages the [tirpc][] library which can be | ||
used instead. It is supposed, that you can build _scotty_ against | ||
_tirpc_ on any platform, where this library is available. | ||
|
||
--- | ||
[Alpine Linux]: https://alpinelinux.org/ | ||
[musl libc]: https://www.musl-libc.org/ | ||
[tirpc]: http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary | ||
|
||
|
||
Slackware Linux | ||
=============== | ||
|
||
Required packages: | ||
|
||
tcl/tcl-8.6.5-x86_64-2.txz | ||
tcl/tk-8.6.5-x86_64-2.txz | ||
d/autoconf-2.69-noarch-1.txz | ||
|
||
Configure with: | ||
|
||
./configure | ||
|
||
|
||
FreeBSD | ||
======= | ||
|
||
Required packages to be installed with `pkg install`: | ||
|
||
tcl86-8.6.6_2 tk86-8.6.6 autoconf | ||
|
||
Configure with: | ||
|
||
./configure | ||
|
||
|
||
NetBSD | ||
====== | ||
|
||
Required packages to be installed with `pkg install`: | ||
|
||
tcl tk autoconf | ||
|
||
Configure with: | ||
|
||
./configure --with-tcl=/usr/pkg/lib --with-tk=/usr/pkg/lib | ||
|
||
|
||
MacOSX | ||
====== | ||
|
||
Install [Active State Tcl][], the community edition will do. It will | ||
install the development files in `/Library/Frameworks/Tcl.framework` | ||
and `/Library/Frameworks/Tk.framework`. | ||
|
||
Install [Xcode][] from Apple. | ||
|
||
Configure with: | ||
|
||
./configure --bindir=/usr/local/bin/ --libdir=/Library/Tcl | ||
|
||
|
||
Solaris 11.3 | ||
============ | ||
|
||
Install Tcl/Tk from sources, the installation provided by Oracle does | ||
not include the private header files. | ||
|
||
Download the source tarballs, unpack, enter the unix subdirectory and | ||
do the standard | ||
|
||
./configure | ||
make | ||
sudo make install | ||
|
||
To install into `/usr/local`. | ||
|
||
Configure scotty with: | ||
|
||
cd tnm | ||
./configure --with-tcl=/usr/local/lib | ||
cd ../tkined | ||
./configure --with-tcl=/usr/local/lib --with-tk=/usr/local/lib | ||
|
||
|
||
--- | ||
[Active State Tcl]: http://www.activestate.com/activetcl/downloads | ||
[Xcode]: https://developer.apple.com/xcode/ | ||
|
||
|
||
--- | ||
# Emacs: | ||
# Local Variables: | ||
# mode: markdown | ||
# End: |
Oops, something went wrong.