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
package main | |
import ( | |
"fmt" | |
"github.com/kuroneko/gosqlite3" | |
) | |
func main() { | |
db, err := sqlite3.Open("test.db") //IF test.db already exists and is valid SQLite3 database this throws error, but the database can be opened with sqlite3 command | |
if err != nil { |
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
go install -x . 1 ? | |
WORK=/tmp/go-build287490735 | |
mkdir -p $WORK/github.com/mattn/go-sqlite3/_obj/ | |
cd /home/vendion/gocode/src/github.com/mattn/go-sqlite3 | |
pkg-config --cflags sqlite3 | |
pkg-config --libs sqlite3 | |
$GOROOT/pkg/tool/linux_amd64/cgo -objdir $WORK/github.com/mattn/go-sqlite3/_obj/ -- -I $WORK/github.com/mattn/go-sqlite3/_obj/ sqlite3.go | |
$GOROOT/pkg/tool/linux_amd64/6c -FVw -I $WORK/github.com/mattn/go-sqlite3/_obj/ -I $GOROOT/pkg/linux_amd64 -o $WORK/github.com/mattn/go-sqlite3/_obj/_cgo_defun.6 -DGOOS_linux -DGOARCH_amd64 $WORK/github.com/mattn/go-sqlite3/_obj/_cgo_defun.c | |
gcc -I . -g -O2 -fPIC -m64 -pthread -I $WORK/github.com/mattn/go-sqlite3/_obj/ -o $WORK/github.com/mattn/go-sqlite3/_obj/_cgo_main.o -c $WORK/github.com/mattn/go-sqlite3/_obj/_cgo_main.c | |
gcc -I . -g -O2 -fPIC -m64 -pthread -I $WORK/github.com/mattn/go-sqlite3/_ob |
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
vendion ~ $ strace clyde | |
execve("/usr/bin/clyde", ["clyde"], [/* 53 vars */]) = 0 | |
brk(0) = 0xf59000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f473876a000 | |
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) |
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
# -*- Mode: shell-script; sh-basic-offset: 2 -*- | |
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> | |
# Contributor: Justin Davis <jrcd83@gmail.com> | |
pkgname='clyde-git' | |
pkgver='20110326' | |
pkgrel='1' | |
pkgdesc="Next-generation libalpm/makepkg wrapper." | |
arch=('i686' 'x86_64') | |
url="http://clyde.archuser.com" | |
license=('custom') |
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
vendion ~ $ sudo clyde -Syua | |
:: Synchronizing package databases... | |
core is up to date | |
extra is up to date | |
community is up to date | |
multilib is up to date | |
:: Starting full system upgrade... | |
:: Identifying AUR packages... | |
virtualbox-ext-oracle 14/ 14 [############################################] 100% | |
-> Identified 3 AUR packages. |
NewerOlder