a road bump in the road to getting CFMX installed on my Macbook Pro

I’ve been reading Simeon‘s blog, and followed the definitive guide, and bam road block.

 

When I attempt to compile the jrun connector i get the following error.

gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe-DHARD_SERVER_LIMIT=2048 -DEAPI -DSHARED_MODULE -I/usr/include/httpd -w-c mod_jrun.c
i686-apple-darwin8-gcc-4.0.1: mod_jrun.c: No such file or directory
i686-apple-darwin8-gcc-4.0.1: no input files
apxs:Break: Command failed with rc=1

 

I’ve reinstalled the apple dev tools, re traced my steps. Double checked that the file is present.

No love.

 

 

15 thoughts on “a road bump in the road to getting CFMX installed on my Macbook Pro

  1. John Wilker Post author

    Scott,

    Thanks to Simeon I got past that and have compiles and modded the httpd.conf file. My latest road block is getting 500 errors for http://localhost/CFIDE/Administrator/ and unable to connect for http://127.0.0.1:8300/CFIDE/Administrator/

    THe errors in my httpd log are

    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] initialized proxy for 127.0.0.1:51020
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] Couldn’t initialize from remote server, JRun server(s) probably down.
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] initialized proxy for 127.0.0.1:51020
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] Couldn’t initialize from remote server, JRun server(s) probably down.
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server.

  2. Scott P Post author

    Looks like your permissions are off

    goto terminal window

    enter chmod 755 /Applications/JRun4/lib/wsconfig/1/jrunserver.store

    To check them, you can enter ls -l /Applications/JRun4/lib/wsconfig/1
    both of the files listed need to be at least rw-r-r–

  3. John Wilker Post author

    Scott,

    Already been there. Both are RW-R–R–

    Not sure if it matters, but I imagine it does. i made sure both aren’t .txt or .xml or anything after the .store and .properties

  4. John Barrett Post author

    Hi John,
    I have to ask, what is so different about getting CFMX to run on a mac pro? I have the powerbook, with CFMX running. The main reason why I have not got the macbook(I know it is suppose to better & faster), but I just hear about so many problems getting ColdFusion running. I am a newbie, and I guess I am just nervous about not getting CFMX on the macbook. I have to ask what is the point of having a laptop with CFMX!

  5. John Barrett Post author

    Hi John,
    Thanks for your advice:) Actually Sean Corfield was a huge help when I was installing CFMX on my powerbook, and I know if I posted troubles the wonderful developers in the CF community would help:) Thanks very much for your post, after reading this I feel more convenient, thanks:)

  6. John Wilker Post author

    Hey john,

    It’s not super tough, thanks to the work of others ;) like mark andrachek. It’s just involved. Add to that my n00b-ness with command line, *nix compiler stuff and it was hard.

    Once it’s up and running, it’s cake to maintain and the comfort level rises. I’m much more comfortable now, should I have to reformat or anything, getting it all worked out, Having chat transcripts helps too :)

  7. Hans Post author

    What what the resolution for the could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied errors?

  8. John Wilker

    Scott,

    Thanks to Simeon I got past that and have compiles and modded the httpd.conf file. My latest road block is getting 500 errors for http://localhost/CFIDE/Administrator/ and unable to connect for http://127.0.0.1:8300/CFIDE/Administrator/

    THe errors in my httpd log are

    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] initialized proxy for 127.0.0.1:51020
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] Couldn't initialize from remote server, JRun server(s) probably down.
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] initialized proxy for 127.0.0.1:51020
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] Couldn't initialize from remote server, JRun server(s) probably down.
    [Sun Dec 31 13:19:50 2006] [notice] jrApache[1661:49623] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server.

  9. John Wilker

    Scott,

    Already been there. Both are RW-R–R–

    Not sure if it matters, but I imagine it does. i made sure both aren't .txt or .xml or anything after the .store and .properties

  10. John Barrett

    Hi John,
    I have to ask, what is so different about getting CFMX to run on a mac pro? I have the powerbook, with CFMX running. The main reason why I have not got the macbook(I know it is suppose to better & faster), but I just hear about so many problems getting ColdFusion running. I am a newbie, and I guess I am just nervous about not getting CFMX on the macbook. I have to ask what is the point of having a laptop with CFMX!

  11. John Wilker

    Hey john,

    It's not super tough, thanks to the work of others ;) like mark andrachek. It's just involved. Add to that my n00b-ness with command line, *nix compiler stuff and it was hard.

    Once it's up and running, it's cake to maintain and the comfort level rises. I'm much more comfortable now, should I have to reformat or anything, getting it all worked out, Having chat transcripts helps too :)

  12. Hans

    What what the resolution for the could not open "/Applications/JRun4/lib/wsconfig/1/jrunserver.store": Permission denied errors?

Comments are closed.