Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am jonm on github.
  • I am jon_moore (https://keybase.io/jon_moore) on keybase.
  • I have a public key whose fingerprint is 3B22 D2E5 0659 7415 CA3A A314 C8AC A2DA 5D1D 5E45

To claim this, I am signing this object:

View final-travis.yml
language: c
sudo: false
before_script: autoreconf --install
addons:
apt:
packages:
- check
install:
- ./ci/install-dependencies.sh
script: CFLAGS="-I`pwd`/Criterion/include" LDFLAGS="-L`pwd`/Criterion/build -Wl,-R -Wl,`pwd`/Criterion/build" ./configure && make && make check
View CPack-error.txt
-- checking for one of the modules 'check'
CMake Error at /usr/share/cmake-2.8/Modules/CPack.cmake:338 (message):
CPack license resource file:
"/home/travis/build/jonm/SillyMUD/Criterion/debian.copyright" could not be
found.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/CPack.cmake:343 (cpack_check_file_exists)
dependencies/libcsptr/.cmake/Modules/PackageConfig.cmake:76 (include)
dependencies/libcsptr/CMakeLists.txt:92 (include)
View install-dependencies.sh
#!/usr/bin/env sh
git clone https://github.com/Snaipe/Criterion.git && \
cd Criterion && \
git fetch origin master:master && \
git checkout master && \
mkdir build && \
cd build && \
cmake .. && \
cmake --build . && \
View autoreconf-fail.txt
$ autoreconf --install
configure.ac:12: error: possibly undefined macro: AC_CHECK_HEADER_STDBOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
View travis-with-autoreconf.yml
language: c
before_script: autoreconf --install
script: ./configure && make && make check
View initial-travis.yml
language: c
script: ./configure && make && make check
View lib-Makefile.am
SUBDIRS = . security
sillydatadir = $(localstatedir)/sillymud
sillydata_DATA = 25102.messages 3093.messages 3094.messages 3095.messages \
3096.messages 3097.messages 3098.messages 3099.messages Scripts.dat \
actions bugs credits help help_table ideas info killfile login messages \
mortal.board motd news players poses rhyodin skexie.board tinyworld.mob \
tinyworld.shp tinyworld.wld tinyworld.zon typos util wiz.board wizlist \
wizmotd tinyworld.obj
View make-check.txt
$ make check
Making check in src
/Applications/Xcode.app/Contents/Developer/usr/bin/make tests
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_STATE_DIR=\"/usr/local/var\" -g -O2 -MT test.act.wizard.o -MD -MP -MF .deps/test.act.wizard.Tpo -c -o test.act.wizard.o test.act.wizard.c
mv -f .deps/test.act.wizard.Tpo .deps/test.act.wizard.Po
gcc -DLOCAL_STATE_DIR=\"/usr/local/var\" -g -O2 -o tests comm.o act.comm.o act.info.o act.move.o act.obj1.o act.obj2.o act.off.o act.other.o act.social.o act.wizard.o handler.o db.o interpreter.o utility.o spec_assign.o shop.o limits.o mobact.o fight.o modify.o weather.o spells1.o spells2.o spell_parser.o reception.o constants.o spec_procs.o signals.o board.o magic.o magic2.o skills.o Opinion.o Trap.o magicutils.o multiclass.o hash.o Sound.o Heap.o spec_procs2.o magic3.o security.o spec_procs3.o create.o bsd.o parser.o intrinsics.o test.act.wizard.o -lcriterion
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
PASS: tests
=========================================
@jonm
jonm / autotools-make-1.txt
Created Nov 16, 2015
first attempt at `make` with autotools-generated `Makefile`
View autotools-make-1.txt
[~/src/SillyMUD]$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT comm.o -MD -MP -MF .deps/comm.Tpo -c -o comm.o comm.c
mv -f .deps/comm.Tpo .deps/comm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT act.comm.o -MD -MP -MF .deps/act.comm.Tpo -c -o act.comm.o act.comm.c
mv -f .deps/act.comm.Tpo .deps/act.comm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT act.info.o -MD -MP -MF .deps/act.info.Tpo -c -o act.info.o act.info.c
act.info.c:3340:23: error: no member named 'gname' in 'struct char_special_data'
if (person->specials.gname && CAN_SEE(ch, person)) {
You can’t perform that action at this time.