#------------------------------------------------------------------------------ # Copyright (c) 2012 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2012-05-30 jed # Last Update: $Id$ # # !!! this is not a script but an step-by-step howto !!! #------------------------------------------------------------------------------ exit 1 # - needs the following environment to build: gcc v3.3.4 # - needs the following library packages to be build: # - needs the following packages to be build: + base 2.8.2 ### RPM build info ### RPM package source: https://download.opensuse.org/repositories/utilities/openSUSE_Factory/src/uni2ascii-4.18-1.110.src.rpm # if the RPM build process is used instead of the manual build process, # the following package can be ignored and aren't required for this # package: # - update-desktop-files # # RPM build command: # rpmbuild -ba --rmsource --nocheck ./SPECS/uni2ascii.spec ### manual build process ### ### download wget http://billposer.org/Software/Downloads/uni2ascii-4.18.tar.bz2 ### extract tar xvzf uni2ascii-4.18.tar.bz2 ### configure ### cd /soft/uni2ascii-4.18 ./configure --prefix=/usr checking for a BSD-compatible install... /usr/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 for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking gnu/libc-version.h usability... yes checking gnu/libc-version.h presence... yes checking for gnu/libc-version.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking type.h usability... no checking type.h presence... no checking for type.h... no checking for unistd.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for fgetln... no checking for getline... yes checking for regcomp... yes checking for setlocale... yes checking for strtoul... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ### make ### make all-am make[1]: Entering directory `/soft/uni2ascii-4.18' gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT endian.o -MD -MP -MF .deps/endian.Tpo -c -o endian.o endian.c mv -f .deps/endian.Tpo .deps/endian.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT enttbl.o -MD -MP -MF .deps/enttbl.Tpo -c -o enttbl.o enttbl.c mv -f .deps/enttbl.Tpo .deps/enttbl.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT SetFormat.o -MD -MP -MF .deps/SetFormat.Tpo -c -o SetFormat.o SetFormat.c mv -f .deps/SetFormat.Tpo .deps/SetFormat.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT uni2ascii.o -MD -MP -MF .deps/uni2ascii.Tpo -c -o uni2ascii.o uni2ascii.c mv -f .deps/uni2ascii.Tpo .deps/uni2ascii.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT UTF8in.o -MD -MP -MF .deps/UTF8in.Tpo -c -o UTF8in.o UTF8in.c mv -f .deps/UTF8in.Tpo .deps/UTF8in.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT putu8.o -MD -MP -MF .deps/putu8.Tpo -c -o putu8.o putu8.c mv -f .deps/putu8.Tpo .deps/putu8.Po gcc -DNEWSUMMARY -g -O2 -o uni2ascii endian.o enttbl.o SetFormat.o uni2ascii.o UTF8in.o putu8.o gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT ascii2uni.o -MD -MP -MF .deps/ascii2uni.Tpo -c -o ascii2uni.o ascii2uni.c mv -f .deps/ascii2uni.Tpo .deps/ascii2uni.Po gcc -DHAVE_CONFIG_H -I. -DNEWSUMMARY -g -O2 -MT GetWord.o -MD -MP -MF .deps/GetWord.Tpo -c -o GetWord.o GetWord.c mv -f .deps/GetWord.Tpo .deps/GetWord.Po gcc -DNEWSUMMARY -g -O2 -o ascii2uni ascii2uni.o enttbl.o GetWord.o putu8.o SetFormat.o cp u2a.tcl u2a make[1]: Leaving directory `/soft/uni2ascii-4.18' ### make test ### make test make: *** No rule to make target `test'. Stop. ### install files ### make DESTDIR=/public/uni2ascii-4.18 install make[1]: Entering directory `/soft/uni2ascii-4.18' test -z "/usr/bin" || /bin/mkdir -p "/public/uni2ascii-4.18/usr/bin" /usr/bin/install -c uni2ascii ascii2uni '/public/uni2ascii-4.18/usr/bin' test -z "/usr/bin" || /bin/mkdir -p "/public/uni2ascii-4.18/usr/bin" /usr/bin/install -c u2a '/public/uni2ascii-4.18/usr/bin' test -z "/usr/share/man/man1" || /bin/mkdir -p "/public/uni2ascii-4.18/usr/share/man/man1" /usr/bin/install -c -m 644 uni2ascii.1 ascii2uni.1 '/public/uni2ascii-4.18/usr/share/man/man1' make[1]: Leaving directory `/soft/uni2ascii-4.18' mkdir -p /public/uni2ascii-4.18/usr/bin/doc for FNAME in AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README; do cp $FNAME /public/uni2ascii-4.18/usr/bin/doc/; done ### strip files ### strip -s /public/uni2ascii-4.18/usr/bin/ascii2uni strip -s /public/uni2ascii-4.18/usr/bin/uni2ascii ### package files ### 5. cd /public tar cvzf uni2ascii-4.18-e1.tgz /public/uni2ascii-4.18