Welcome to iraf.net Sunday, May 12 2024 @ 10:22 AM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 xccdred installation problem on macintel
   
sjester
 08/26/2008 07:24AM (Read 2612 times)  
+----
Newbie

Status: offline


Registered: 08/25/2008
Posts: 1
Hi, I have been trying unsuccessfully to build xccdred on an Intel Mac with MacOS 10.4 using Iraf 2.13-beta2 installed via scisoft.http://iraf.noao.edu/scripts/extern/xccdred.pl doesn't provide a binary for macintel. Does someone have one, or could make one?
Alternatively, I could do with installation help: I tried to build the binaries myself following the README, as user 'iraf'. It looks successful:...
ar r /scisoft/all/packages/iraf/extern/xccdred/src/libpkg.a t_mkimage.o
ranlib libpkg.a
Updated 73 files in libpkg.a
xc -c -w x_ccdred.x
x_ccdred.x:
sys_runtask:
x_ccdred.f:
sysruk:
xc -Nz x_ccdred.o libpkg.a -lxtools -lcurfit -lgsurfit -lncar -lgks -o xx_ccdred.e
move `xx_ccdred.e' to `xccdredbin$x_ccdred.e'but in fact the xccdredbin variable is undefined, and when I try to call any xccdred task, it can't find xccdred.eAlternatively, if I follow the "multi-architecture" directions, I get the following errors:--> mkpkg -p xccdred macintel
envinit: cannot open `/scisoft/all/packages/iraf/extern/xccdred/xccdredlib/zzsetenv.def'
Warning, mkpkg line 0: cannot open `xccdred$lib/mkpkg.inc'
Warning, mkpkg line 150: could not find mkpkg module or label `macintel'
Warning, mkpkg line 150: no entry in mkpkg file for `macintel'So maybe xccdred isn't even set up to *compile* for IRAFARCH=macintel? If so, how do I set it up correctly?Cheers,Sebastian

 
Profile Email
 Quote
fitz
 08/26/2008 07:24AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The package builds just fine on Mac Intel, although I'm not sure it provides any new functionality. In any case, I've put the binaries on the iraf.noao.edu ftp area as well as the downloads page on this site.As for the problems you're having: All external packages must be compiled with the "-p <pkgname>" flag, this is what loads the proper environment to define things like 'xccdredbin'. Since this package pre-dates the macintel port the mkpkg doesn't have an architecture defined (the source distribution was updated to include one now) but you can simply create a 'bin.macintel' directory and change the 'bin' link to point to it before building (In this one case ONLY! In general you should use the 'mkpkg' command).Cheers,
-Mike

 
Profile Email
 Quote
   
Content generated in: 0.07 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login