Skip to content

Instantly share code, notes, and snippets.

View rkitover's full-sized avatar

Rafael Kitover rkitover

  • San Francisco, CA, United States
View GitHub Profile
08:22:11 <@Caelum> ribasushi: the DBI introspection parts of sl are perfectly reusable
08:22:22 <@Caelum> ribasushi: I just haven't extracted them yet
08:23:35 <@Caelum> ribasushi: too many yaks to shave
08:31:44 <@Caelum> ribasushi: another thing, before I do it I wanted to do the
on_update/on_delete/is_deferrable introspection for FKs, or at least add space
for that in the API
cat dbic model:
turn on WAL by default for sqlite
storage defaults for other DBs
move ConnectInfo types into a separate dist
add SchemaProxy as a default trait for create= models
add ResultSetAccessors as a default schema_components
add useful Helpers by default
turn on preserve_case mode by default
make Caching trait pass through without blessed context
support ::Schema::Config
Making all in docs
make[1]: *** No rule to make target `libssh2_free_host_entry.3', needed by `all-am'. Stop.
make: *** [all-recursive] Error 1
diff --git a/win32/GNUmakefile b/win32/GNUmakefile
old mode 100644
new mode 100755
index 696f661..59a3452
--- a/win32/GNUmakefile
+++ b/win32/GNUmakefile
@@ -16,7 +16,7 @@ WITH_ZLIB = 1
# Edit the path below to point to the base of your OpenSSL package.
ifndef OPENSSL_PATH
./buildconf
./configure --enable-debug --with-openssl --with-libz --with-libssl-prefix=/c/Users/rkitover/src/openssl-1.0.1a --with-libz-prefix=/c/Users/rkitover/src/zlib-1.2.6
make
...
libtool: link: gcc -DLIBSSH2_WIN32 -g -W -Wall -Wwrite-strings -pedantic -Wpointer-arith -Wnes
ted-externs -Winline -Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long -Wsign
-compare -Wfloat-equal -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration
-after-statement -isystem /c/Users/rkitover/src/openssl-1.0.1a/include -isystem /c/Users/rkito
ver/src/zlib-1.2.6/include -o .libs/direct_tcpip.exe direct_tcpip.o ../src/.libs/libssh2.a -L
/c/Users/rkitover/src/openssl-1.0.1a/lib -L/c/Users/rkitover/src/zlib-1.2.6/lib -lssl -lcrypto
checking whether to enable maintainer-specific portions of Makefiles... no
checking for sed... /bin/sed
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking libssh2 version... 1.4.2_DEV
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libssh2 configure -, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --enable-debug --with-openssl --with-libz --with-libssl-prefix=/c/Users/rkitover/src/openssl-1.0.1a --with-libz-prefix=/c/Users/rkitover/src/zlib-1.2.6
## --------- ##
## Platform. ##
alias pclean="([ -f Makefile ] || perl Makefile.PL); make realclean && rm -f MANIFEST"
alias pinst="perl Makefile.PL INSTALLDIRS=vendor && make && make install && pclean"
alias pprepare="rm -rf inc MANIFEST && perl Makefile.PL && make manifest && perl Makefile.PL && make"
alias pdist="pprepare && make dist"
alias pupload="pprepare && make upload"
From ee19ec82cd5800e18a53428b88eaa8c910ba525a Mon Sep 17 00:00:00 2001
From: Rafael Kitover <[email protected]>
Date: Mon, 23 Apr 2012 13:19:31 -0400
Subject: [PATCH] update win32/GNUmakefile for new OpenSSL
libcrypto on win32 now depends on gdi32.dll, so move the OpenSSL LDLIBS
block to before compiler definitions block, because -lgdi32 has to come
after libcrypto, then and add -lgdi32 to LDLIBS for gcc.
---
win32/GNUmakefile | 16 ++++++++--------
#!/usr/bin/env perl
use DBI;
use strict;
use warnings;
my $h = DBI->connect(@ENV{map "DBICTEST_MSSQL_ODBC_$_", qw/DSN USER PASS/},
{RaiseError => 1, PrintError => 0}
);