| | 4 | |
| | 5 | |
| | 6 | |
| | 7 | WIP notes: |
| | 8 | |
| | 9 | install pkgconfig-0.23+glib-1.2.10 |
| | 10 | {{{ |
| | 11 | echo "AC_CONFIG_MACRO_DIR([m4])" >> configure.in |
| | 12 | echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am |
| | 13 | wget http://ports.haiku-files.org/export/272/haikuports/trunk/dev-libs/glib/pkgconfig_glib-1.2.10-installable.diff |
| | 14 | patch -p0 -i pkgconfig_glib-installable-Naur.diff |
| | 15 | cd glib-1.2.10 |
| | 16 | libtoolize --force --install |
| | 17 | aclocal |
| | 18 | automake |
| | 19 | autoconf |
| | 20 | cd .. |
| | 21 | libtoolize --force --install |
| | 22 | aclocal |
| | 23 | automake |
| | 24 | autoconf |
| | 25 | configure --prefix=/boot/common |
| | 26 | }}} |
| | 27 | |
| | 28 | |
| | 29 | Download + build libyaho2 |
| | 30 | {{{ |
| | 31 | svn co https://libyahoo2.svn.sourceforge.net/svnroot/libyahoo2/branches/RELEASE_0_7_7_BRANCH/libyahoo2 |
| | 32 | cd libyahoo2 |
| | 33 | sh gen |
| | 34 | configure --prefix=/boot/common --with-struct-callbacks LDFLAGS=-lnetwork |
| | 35 | make |
| | 36 | }}} |
| | 37 | NOTE : svn might give an error, something about PROFIND or PROPFIND. Keep retrying the svn command. eventually it'll succeed. |
| | 38 | {{{ |
| | 39 | svn: PROPFIND request failed on '/svnroot/libyahoo2/branches/RELEASE_0_7_7_BRANCH/libyahoo2' |
| | 40 | svn: PROPFIND of '/svnroot/libyahoo2/branches/RELEASE_0_7_7_BRANCH/libyahoo2': Could not read status line: Secure connection truncated (https://libyahoo2.svn.sourceforge.net) |
| | 41 | }}} |
| | 42 | |
| | 43 | |
| | 44 | selected output from libyaooh2's configure: |
| | 45 | {{{ |
| | 46 | checking for ANSI C header files... (cached) yes |
| | 47 | checking errno.h usability... no |
| | 48 | checking errno.h presence... yes |
| | 49 | configure: WARNING: errno.h: present but cannot be compiled |
| | 50 | configure: WARNING: errno.h: check for missing prerequisite headers? |
| | 51 | configure: WARNING: errno.h: see the Autoconf documentation |
| | 52 | configure: WARNING: errno.h: section "Present But Cannot Be Compiled" |
| | 53 | configure: WARNING: errno.h: proceeding with the preprocessor's result |
| | 54 | configure: WARNING: errno.h: in the future, the compiler will take precedence |
| | 55 | configure: WARNING: ## ---------------------------------------------------- ## |
| | 56 | configure: WARNING: ## Report this to libyahoo2-users@lists.sourceforge.net ## |
| | 57 | configure: WARNING: ## ---------------------------------------------------- ## |
| | 58 | checking for errno.h... yes |
| | 59 | checking for stdlib.h... (cached) no |
| | 60 | .... |
| | 61 | checking for pkg-config... no |
| | 62 | checking for GLIB - version >= 2.0.0... no |
| | 63 | *** A new enough version of pkg-config was not found. |
| | 64 | *** See http://www.freedesktop.org/software/pkgconfig/ |
| | 65 | checking for glib-config... /boot/common/bin/glib-config |
| | 66 | checking for GLIB - version >= 1.2.8... yes |
| | 67 | |
| | 68 | }}} |