Skype for Fedora 7

You need the following to run Skype. You have to find libsigc++20 somewhere because it does not include in Fedora 7

  1. skype-1.4.0.74-fc5
  2. qt4-x11-4.3.0-2.fc7
  3. nas-1.9-2.fc7
  4. qt4-4.3.0-2.fc7
  5. libsigc++20-2.0.17-2

Synology 101g+ crosstool – HOWTO

Realize Synology 101g+ is running with Powerpc 106e

Get the following from http://www.powerdeveloper.org/forums/viewtopic.php?p=7153

Configured with: /home/jjw/v/crosstool-0.43/build/powerpc-603e-linux-gnu/gcc-4.1.0-glibc-2.3.6/gcc-4.1.0/configure –target=powerpc-603e-linux-gnu –host=x86_64-host_unknown-linux-gnu –prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-603e-linux-gnu –with-cpu=603e –enable-cxx-flags=-mcpu=603e –with-headers=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu/include –with-local-prefix=/opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-603e-linux-gnu/powerpc-603e-linux-gnu –disable-nls –enable-threads=posix –enable-symvers=gnu –enable-__cxa_atexit –enable-languages=c,c++ –enable-shared –enable-c99 –enable-long-long
Thread model: posix
gcc version 4.1.0

Get the following workable with my Synology 101g+

powerpc-603e-linux-gnu.crosstoolconfig.txt
GCC_HOST=
GCC_LANGUAGES=c,c++
GDB_DIR=
GLIBC_ADDON_OPTIONS==linuxthreads,
GLIBC_DIR=glibc-2.3.3
GLIBC_EXTRA_CC_ARGS=
GLIBC_EXTRA_CONFIG=
GLIBC_EXTRA_ENV=
JUST_DOWNLOAD=
KERNELCONFIG=
LINUX_DIR=linux-2.4.22
LINUX_SANITIZED_HEADER_DIR=
NO_DOWNLOAD=
PREFIX=/opt/crosstool/gcc-3.3.4-glibc-2.3.3/powerpc-603e-linux-gnu
PTXDIST_DIR=
SHARED_MODE=–enable-shared
SRC_DIR=/home/lama/Documents/crosstool/crosstool-0.43/build/powerpc-603e-linux-gnu/gcc-3.3.4-glibc-2.3.3
TARBALLS_DIR=/home/lama/Download
TARGET=powerpc-603e-linux-gnu
TARGET_CFLAGS=-O -mcpu=603e
TOP_DIR=/home/lama/Documents/crosstool/crosstool-0.43
USE_SYSROOT=

Sybase ASE on Linux FAQ – Fedora

Extract from the link below:

• Running ASE 12.5.1 on Fedora

Fedora is the new name of Red Hat’s “consumer” releases (as opposed to their “Enterprise” releases).

ASE 12.5.1 requires a Java JVM to install. I downloaded mine from http://java.sun.com/j2se/1.4.2/download.html. There are some instructions on performing the JVM install at http://fedora.artoo.net/faq/#Java.

Next, the dataserver binary is linked with some older libstdc++.so libraries. To get these libraries you need to install compat-libstdc++-7.3-2.96.118.i386.rpm. This is available in the Fedora distribution.

Now you are ready to go ahead and install.

Note that the 12.5.1 installer doesn’t create a “sybase” user for you, doesn’t install any rc files, and doesn’t edit /etc/ld.so.conf, so you’ll have to do that yourself. Also remember to set the kernel.shmmax entry in /etc/sysctl.conf and run /sbin/sysctl -p before building a new server.

Sybase ASE on Linux FAQ

Sqlite: How To Build a Loadable Extension Shared Library on Linux

Details copy from http://www.sqlite.org/cvstrac/wiki?p=LoadableExtensions

How To Build a Loadable Extension Shared Library on Linux
0. untar latest sqlite3 source code in a new directory
1. cd to the newly untarred sqlite directory
2. Comment out the line in Makefile.in to enable loadable extensions:
# TCC += -DSQLITE_OMIT_LOAD_EXTENSION=1
3. ./configure LIBS=-ldl && make sqlite3
4. export LD_LIBRARY_PATH=”`pwd`:$LD_LIBRARY_PATH”
5. gcc -I`pwd` -shared src/test_loadext.c -o half.so
6. ./sqlite3
SQLite version 3.3.17
Enter “.help” for instructions
sqlite> .load half.so testloadext_init
sqlite> select half(7);
3.5

Apache self signed certificate for Fedora7

Install the below:

mod_ssl-2.2.4-4
distcache-1.4.5-14.1
httpd-2.2.4-4
openssl-0.9.8b-12.fc7

cd /etc/pki/tls/certs
review make-dummy-cert and make copy say my_make_cert and modify the content of the copy
i.e. highlighted in red below:

#!/bin/sh
umask 077

answers() {
echo —
echo SomeState
echo SomeCity
echo SomeOrganization
echo SomeOrganizationalUnit
echo localhost.localdomain
echo root@localhost.localdomain
}

issue the below
./my_make_cert test
split the file test in between the lines into two parts:
—–END RSA PRIVATE KEY—–

—–BEGIN CERTIFICATE—–

The upper part save as file /etc/pki/tls/private/localhost.key
The bottom part save as file /etc/pki/tls/certs/localhost.crt

This matches with the default /etc/httpd/conf.d/ssl.conf that come with the mod_ssl rpm package