Changeset 19604
- Timestamp:
- Sep 18, 2008, 2:25:50 PM (18 years ago)
- Location:
- trunk/psconfig
- Files:
-
- 2 edited
-
pschecklibs (modified) (8 diffs)
-
tagsets/ipp-2.7.libs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/pschecklibs
r19150 r19604 2 2 3 3 $tagsets = "tagsets"; 4 $needdev = 0; 4 5 5 6 # default system library locations … … 127 128 if ($line =~ m|^\s*\#|) { next; } 128 129 129 ($type, $name, $altnames, $altpaths, $tarball, $tardir, $ use_equals, $configure_opts, $make_opts, $install_opts) = split (" ", $line);130 if (($ use_equals ne "Y") && ($use_equals ne "N")) { die "invalid value for use_equalsfield\n"; }130 ($type, $name, $altnames, $altpaths, $tarball, $tardir, $auto_force, $configure_opts, $make_opts, $install_opts) = split (" ", $line); 131 if (($auto_force ne "Y") && ($auto_force ne "N")) { die "invalid value for auto_force field\n"; } 131 132 132 133 if ((defined $force{lc($name)} or defined $force{'all'}) and lc($tarball) ne "none") { 133 &buildlib ($name, $tarball, $tardir, $use_equals, $configure_opts, $make_opts, $install_opts); 134 # exit 0; 134 &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts); 135 next; 136 } 137 138 if ($build and ($auto_force eq "Y")) { 139 &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts); 135 140 next; 136 141 } … … 147 152 } 148 153 154 if ($auto_force eq "Y") { 155 print "$name will be built\n"; 156 } 157 149 158 if ($found) { 150 print "pass $name ($found)\n"; 159 if ($found eq "runtime-only") { 160 print "runtime $name ($found)\n"; 161 push @faillibs, "$name"; 162 } else { 163 print "pass $name ($found)\n"; 164 } 151 165 next; 152 166 } else { … … 155 169 } 156 170 171 if ($auto_force eq "Y") { 172 print "$name will be built\n"; 173 } 174 157 175 if (! $build) { next; } 158 176 if ($type eq "inc") { … … 160 178 # Will attempt to install library. 161 179 } 162 &buildlib ($name, $tarball, $tardir, $ use_equals, $configure_opts, $make_opts, $install_opts);180 &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts); 163 181 } 164 182 if ($build) { exit 0; } … … 172 190 print "\n"; 173 191 print "you may install them in your local path by re-running pschecklibs with -build\n"; 192 193 print "*** WARNING *** Some libraries are installed in your system only for runtime use, not for linking.\n"; 194 print " For many systems, it is possible to install the developer version of a library, and this may be safer\n"; 195 print " If you choose to install our version of any of these libraries, please use -force (library) in your psbuild / pschecklibs options\n"; 174 196 exit 1; 175 197 } … … 179 201 180 202 sub buildlib { 181 my ($name, $tarball, $tardir, $ use_equals, $configure_opts, $make_opts, $install_opts) = @_;203 my ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts) = @_; 182 204 183 205 if ($tarball eq "NONE") { … … 278 300 # versions libraries if we find only a .so.N without a matching 279 301 # .so, we link this in the installed libdir 280 foreach $topdir ( @libpath ) { 281 foreach $subdir ( @subdirs ) { 282 if ($subdir eq ".") { 283 $path = $topdir; 284 } else { 285 $path = "$topdir/$subdir"; 286 } 287 if (! -e $path) { next; } 288 @libnames = <$path/$tryname.$dlltype*>; 289 if (@libnames > 0) { 290 $libname = @libnames[-1]; 291 # print "making link to numbered .$dlltype library $libdir/$f.$dlltype\n"; 292 symlink $libname, "$libdir/$f.$dlltype"; 293 if ($?) { exit 1; } 294 return $libname; 295 } 296 # print "no $path/$tryname.$dlltype*\n"; 297 } 298 } 302 # XXX this was probably a mistake to allow some systems to build without supplied libs 303 if (1) { 304 foreach $topdir ( @libpath ) { 305 foreach $subdir ( @subdirs ) { 306 if ($subdir eq ".") { 307 $path = $topdir; 308 } else { 309 $path = "$topdir/$subdir"; 310 } 311 if (! -e $path) { next; } 312 @libnames = <$path/$tryname.$dlltype*>; 313 if (@libnames > 0) { 314 $libname = @libnames[-1]; 315 $needdev = 1; 316 # print " *** need developer version of $name\n"; 317 return "runtime-only"; 318 319 # XXX old option: link in existing library 320 # symlink $libname, "$libdir/$f.$dlltype"; 321 # if ($?) { exit 1; } 322 # return $libname; 323 } 324 } 325 } 326 } 299 327 } 300 328 return 0; -
trunk/psconfig/tagsets/ipp-2.7.libs
r19096 r19604 13 13 # tarball name 14 14 # tar directory 15 # force install by default? 15 16 # configure options 16 17 # make options 17 18 # make install options 18 19 19 lib libm NONE NONE NONE NONE YNONE NONE NONE20 lib libX11 NONE NONE NONE NONE YNONE NONE NONE21 lib libpthread NONE NONE NONE NONE YNONE NONE NONE22 lib libncurses curses,termcap NONE ncurses-5.6.tar.gz ncurses-5.6 YNONE NONE NONE20 lib libm NONE NONE NONE NONE N NONE NONE NONE 21 lib libX11 NONE NONE NONE NONE N NONE NONE NONE 22 lib libpthread NONE NONE NONE NONE N NONE NONE NONE 23 lib libncurses curses,termcap NONE ncurses-5.6.tar.gz ncurses-5.6 N NONE NONE NONE 23 24 lib libreadline NONE NONE readline-5.2-p12.tar.gz readline-5.2-p12 Y NONE NONE NONE 24 lib libz NONE NONE zlib-1.2.3.tar.gz zlib-1.2.3 Y--shared NONE NONE25 lib libpng NONE NONE libpng-1.2.15.tar.gz libpng-1.2.15 YNONE NONE NONE26 lib libjpeg NONE jpeg jpegsrc.v6b .tar.gz jpeg-6b Y--enable-shared NONE install-lib27 lib libcfitsio NONE NONE cfitsio3090.tar.gz cfitsio YNONE NONE NONE28 #lib libmysqlclient NONE mysql mysql-5.0.27.tar.gz mysql-5.0.27 YNONE NONE NONE29 lib libmysqlclient NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a YNONE NONE NONE30 lib libgsl NONE NONE gsl-1.11.tar.gz gsl-1.11 YNONE NONE NONE31 lib libfftw3f NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 Y--enable-float,--enable-shared,--disable-fortran NONE NONE32 #lib libfftw3 NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 Y--enable-shared,--disable-fortran NONE NONE25 lib libz NONE NONE zlib-1.2.3.tar.gz zlib-1.2.3 N --shared NONE NONE 26 lib libpng NONE NONE libpng-1.2.15.tar.gz libpng-1.2.15 N NONE NONE NONE 27 lib libjpeg NONE jpeg jpegsrc.v6b-p1.tgz jpeg-6b N --enable-shared NONE install-lib 28 lib libcfitsio NONE NONE cfitsio3090.tar.gz cfitsio N NONE NONE NONE 29 #lib libmysqlclient NONE mysql mysql-5.0.27.tar.gz mysql-5.0.27 N NONE NONE NONE 30 lib libmysqlclient NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a N NONE NONE NONE 31 lib libgsl NONE NONE gsl-1.11.tar.gz gsl-1.11 N NONE NONE NONE 32 lib libfftw3f NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 N --enable-float,--enable-shared,--disable-fortran NONE NONE 33 #lib libfftw3 NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 N --enable-shared,--disable-fortran NONE NONE 33 34 # paul claims we are not currently using double-point FFTs anywhere 34 35 35 bin pkg-config NONE NONE pkg-config-0.22.tar.gz pkg-config-0.22 YNONE NONE NONE36 bin pkg-config NONE NONE pkg-config-0.22.tar.gz pkg-config-0.22 N NONE NONE NONE 36 37 37 38 inc X11/Xatom.h NONE NONE NONE NONE N NONE NONE NONE … … 48 49 inc errno.h NONE NONE NONE NONE N NONE NONE NONE 49 50 inc fcntl.h NONE NONE NONE NONE N NONE NONE NONE 50 inc fftw3.h NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 Y--enable-float,--enable-shared,--disable-fortran NONE NONE51 inc fitsio.h NONE NONE cfitsio3090.tar.gz cfitsio YNONE NONE NONE51 inc fftw3.h NONE NONE fftw-3.0.1.tar.gz fftw-3.0.1 N --enable-float,--enable-shared,--disable-fortran NONE NONE 52 inc fitsio.h NONE NONE cfitsio3090.tar.gz cfitsio N NONE NONE NONE 52 53 inc glob.h NONE NONE NONE NONE N NONE NONE NONE 53 inc gsl/gsl_randist.h NONE NONE gsl-1.11.tar.gz gsl-1.11 YNONE NONE NONE54 inc gsl/gsl_rng.h NONE NONE gsl-1.11.tar.gz gsl-1.11 YNONE NONE NONE54 inc gsl/gsl_randist.h NONE NONE gsl-1.11.tar.gz gsl-1.11 N NONE NONE NONE 55 inc gsl/gsl_rng.h NONE NONE gsl-1.11.tar.gz gsl-1.11 N NONE NONE NONE 55 56 inc inttypes.h NONE NONE NONE NONE N NONE NONE NONE 56 inc jpeglib.h NONE jpeg jpegsrc.v6b.tar.gz jpeg-6b Y--enable-shared NONE install-lib57 inc jpeglib.h NONE jpeg jpegsrc.v6b.tar.gz jpeg-6b N --enable-shared NONE install-lib 57 58 inc limits.h NONE NONE NONE NONE N NONE NONE NONE 58 59 inc malloc.h NONE NONE NONE NONE N NONE NONE NONE 59 60 inc math.h NONE NONE NONE NONE N NONE NONE NONE 60 61 inc memory.h NONE NONE NONE NONE N NONE NONE NONE 61 inc mysql.h NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a YNONE NONE NONE62 inc mysql.h NONE mysql mysql-5.0.51a.tar.gz mysql-5.0.51a N NONE NONE NONE 62 63 inc netdb.h NONE NONE NONE NONE N NONE NONE NONE 63 64 inc netinet/ip.h NONE NONE NONE NONE N NONE NONE NONE 64 inc png.h NONE NONE libpng-1.2.15.tar.gz libpng-1.2.15 YNONE NONE NONE65 inc png.h NONE NONE libpng-1.2.15.tar.gz libpng-1.2.15 N NONE NONE NONE 65 66 inc pthread.h NONE NONE NONE NONE N NONE NONE NONE 66 inc readline/history.h NONE NONE readline-5.2-p12.tar.gz readline-5.2-p12 YNONE NONE NONE67 inc readline/readline.h NONE NONE readline-5.2-p12.tar.gz readline-5.2-p12 YNONE NONE NONE67 inc readline/history.h NONE NONE readline-5.2-p12.tar.gz readline-5.2-p12 N NONE NONE NONE 68 inc readline/readline.h NONE NONE readline-5.2-p12.tar.gz readline-5.2-p12 N NONE NONE NONE 68 69 inc regex.h NONE NONE NONE NONE N NONE NONE NONE 69 70 inc signal.h NONE NONE NONE NONE N NONE NONE NONE … … 84 85 inc time.h NONE NONE NONE NONE N NONE NONE NONE 85 86 inc unistd.h NONE NONE NONE NONE N NONE NONE NONE 86 inc zlib.h NONE NONE zlib-1.2.3.tar.gz zlib-1.2.3 Y--shared NONE NONE87 inc zlib.h NONE NONE zlib-1.2.3.tar.gz zlib-1.2.3 N --shared NONE NONE 87 88 88 89 # xml is currently not used by IPP
Note:
See TracChangeset
for help on using the changeset viewer.
