@@ -19,8 +19,6 @@ cat <<_WREHELP
19
19
--all builds all packages
20
20
--clean cleans all pre-req folders for a new build
21
21
--help displays this screen
22
- --ia64 turns on special flags for building on 64-bit systems
23
-
24
22
25
23
Packages: (must be built in the order shown below)
26
24
45
43
46
44
case " $opt " in
47
45
48
- --ia64)
49
- export WRE_IA64=1
50
- ;;
51
-
52
46
--clean)
53
47
export WRE_CLEAN=1
54
48
;;
@@ -138,11 +132,6 @@ if [ -d /data ]; then
138
132
# --cache-file speeds up configure a lot
139
133
rm /tmp/Configure.cache
140
134
export CFG_CACHE=" " # "--cache-file=/tmp/Configure.cache"
141
- if [ " $WRE_IA64 " == 1 ]; then
142
- export CFLAGS=" $CFLAGS -fPIC"
143
- export CXXFLAGS=" $CXXFLAGS -fPIC"
144
- export PERLCFGOPTS=" -Accflags=\" -fPIC\" $PERLCFGOPTS "
145
- fi
146
135
147
136
# deal with operating system inconsistencies
148
137
export WRE_OSNAME=` uname -s`
@@ -268,47 +257,6 @@ buildUtils(){
268
257
printHeader " Utilities"
269
258
cd source
270
259
271
- # libtool
272
- # buildProgram "libtool-2.2.6"
273
-
274
- # ncurses
275
- # buildProgram "ncurses-5.7" "$CFG_CACHE --with-shared "
276
-
277
- # zlib
278
- # buildProgram "zlib-1.2.3" "--shared"
279
-
280
- # libiconv
281
- # if [ "$WRE_OSNAME" != "Darwin" ] && [ "$WRE_OSTYPE" != "Leopard" ]; then
282
- # buildProgram "libiconv-1.13" "$CFG_CACHE"
283
- # fi
284
-
285
- # rsync
286
- # buildProgram "rsync-3.0.6" "$CFG_CACHE"
287
-
288
- # libgpg-error
289
- # buildProgram "libgpg-error-1.7" "$CFG_CACHE"
290
-
291
- # libgcrypt
292
- # buildProgram "libgcrypt-1.4.6" "$CFG_CACHE $CFG_LIBGCRYPT"
293
-
294
- # gnutls
295
- # buildProgram "gnutls-2.8.5" "$CFG_CACHE"
296
-
297
- # expat
298
- # buildProgram "expat-2.0.1" "$CFG_CACHE"
299
-
300
- # readline
301
- # buildProgram "readline-6.1" "$CFG_CACHE"
302
-
303
- # curl
304
- # buildProgram "curl-7.19.7" "$CFG_CACHE --with-ssl=$PREFIX --with-zlib=$PREFIX --with-gnutls=$PREFIX"
305
-
306
- # lftp
307
- # SAVED_CFLAGS=$CFLAGS
308
- # CFLAGS="$CFLAGS -liconv"
309
- # buildProgram "lftp-4.3.3" "--with-libiconv-prefix=$PREFIX --with-openssl=$PREFIX"
310
- # CFLAGS=$SAVED_CFLAGS
311
-
312
260
# catdoc
313
261
cd catdoc-0.94.2
314
262
if [ " $WRE_CLEAN " == 1 ]; then
@@ -398,46 +346,24 @@ buildImageMagick(){
398
346
# lib ungif
399
347
buildProgram " giflib-4.1.6" " --enable-shared $CFG_CACHE "
400
348
401
- # tiff
402
- # buildProgram "tiff-3.8.2" "$CFG_CACHE"
403
-
404
349
# lib png
405
350
buildProgram " libpng-1.5.6" " --enable-shared $CFG_CACHE "
406
351
407
- # lcms
408
- # buildProgram "lcms-1.19" "$CFG_CACHE"
409
-
410
352
# graphviz
411
353
buildProgram " graphviz-2.24.0" " $CFG_CACHE --enable-static --with-libgd=no --with-mylibgd=no --disable-java --disable-swig --disable-perl --disable-python --disable-php --disable-ruby --disable-sharp --disable-python23 --disable-python24 --disable-python25 --disable-r --disable-tcl --disable-guile --disable-io --disable-lua --disable-ocaml"
412
354
ln -s $PREFIX /bin/dot_static $PREFIX /bin/dot
413
355
414
-
415
356
# image magick
416
357
cd ImageMagick-* # when you update this version number, update the one below as well
417
358
printHeader " Image Magick"
418
359
if [ " $WRE_CLEAN " == 1 ]; then
419
360
$WRE_MAKE distclean
420
361
$WRE_MAKE clean
421
362
fi
422
- if [ " $WRE_IA64 " == 1 ]; then
423
- SAVED_LDFLAGS=" $LDFLAGS "
424
- LDFLAGS=" $LDFLAGS -L$PREFIX /lib -L$PREFIX /lib/perl5/lib -L$PREFIX /lib/perl5/5.14.2/x86_64-linux/CORE"
425
- fi
426
- # For some reason the CFG_CACHE causes compile to fail
427
363
GNUMAKE=$WRE_MAKE ./configure LD=ld --enable-delegate-build LDFLAGS=-L$PREFIX /lib CPPFLAGS=-I$PREFIX /include --enable-shared --prefix=/data/apps --with-jpeg --with-png --with-gif --with-perl --without-x --with-xml
428
- # ./configure --prefix=$PREFIX --with-zlib=$PREFIX --enable-delegate-build --enable-shared --with-gvc --with-jp2 --with-jpeg --with-png --with-perl --with-lcms --with-tiff --without-x GVC_CFLAGS=-I$PREFIX/include/graphviz GVC_LIBS="-L$PREFIX/lib -lgvc -lgraph -lcdt" $IM_OPTION; checkError $? "Image Magick configure"
429
- # if [ "$WRE_OSNAME" == "Darwin" ]; then # technically this is only for Darwin i386, but i don't know how to detect that
430
- # $PREFIX/bin/perl -i -p -e's[\#if defined\(PNG_USE_PNGGCCRD\) \&\& defined\(PNG_ASSEMBLER_CODE_SUPPORTED\) \\][#if FALSE]g' coders/png.c
431
- # fi
432
364
$WRE_MAKE ; checkError $? " Image Magick make"
433
365
$WRE_MAKE install; checkError $? " Image Magick make install"
434
366
435
- # cd $WRE_BUILDDIR
436
- # cp source/colors.xml $PREFIX/lib/ImageMagick/config/
437
-
438
- if [ " $WRE_IA64 " == 1 ]; then
439
- LDFLAGS=" $SAVED_LDFLAGS "
440
- fi
441
367
}
442
368
443
369
# most perl modules are installed the same way
@@ -481,7 +407,7 @@ installPerlModules () {
481
407
# awstats
482
408
installAwStats (){
483
409
printHeader " AWStats"
484
- cp -RL source/awstats-6.95 /* $PREFIX
410
+ cp -RL source/awstats-7.0 /* $PREFIX
485
411
}
486
412
487
413
# wre utils
0 commit comments