<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Note: I did *not* cross post this to bugs or patches.  I do not know the rules for this list and sometimes cross posting is really frowned upon.<div><br></div><div>There are still three unsolved issues (two roughly the same issue).</div><div><br></div><div>1) If a java compiler is not found, the make still dives down the lib/jinterface tree and promptly dies because it can not find a java compiler.  So, what ./configure learns is not appropriately applied.</div><div><br></div><div>2) In the same sense, if the odbc driver is not found, the make still dives down the lib/odbc tree and soon dies.</div><div><br></div><div>In the first case, I found a Java compiler.  In the second case, I hand edited the Makefile and removed the call to odbc.  (but that change is not in these diffs)</div><div><br></div><div>3) The make files assume that you can call install -d to create a directory.  Not true for AIX.  On AIX, I used:</div><div><br></div><div>gmake MKSUBDIRS='mkdir -p' install</div><div><br></div><div>I *believe* (but could be full of it) that mkdir -p is more universal than install -d.</div><div><br></div><div>I used gcc 4.0.2, AIX's ld, and GNU's make (called gmake on my system).</div><div><br></div><div>There is a "odd" issue which probably everyone knows about but I found it confusing.  The distribution comes with precompiled files.  "make clean" removes these files.  That is not the usual case.  "make clean" usually just removes files created post configure.  Some other target in make is usually used to remove any precompiled files.</div><div><br></div><div>Aside from that, attached is my diff of my changes.</div><div><br></div><div>Oh, one explanation.  As is somewhat typical of ./configure, things which are platform dependent, compiler dependent, and linker dependent get smerged.  Some of the changes are to check if gcc is being used (I used it in my case) and if it is, then the linker flags are change from "-a -b -c" to -Wl,-a,-b,-c.  This assumes that the linker flags are added to the gcc line.  But, in some cases, they are not.  The compiler is called and the ld is called directly.  All this makes the configure scripts nearly impossible to get 100% correct.  I keep waiting and hoping for some replacement to them.</div><div><br></div><div>HTH,</div><div>Perry</div><div><br></div><div><br></div><div><div><div>On Jun 17, 2008, at 6:06 AM, Alex Arnon wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Have you had any luck finding the difference (or resolving the problem)? <br>If so, can you post a patch?<br><br><br><div class="gmail_quote">On Mon, Jun 16, 2008 at 7:46 PM, Perry Smith <<a href="mailto:pedzsan@gmail.com">pedzsan@gmail.com</a>> wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm new and I'm trying to compile the latest on AIX 5.3.<br> <br> I get errors:<br> <br> sys/common/erl_check_io.c:534: error: 'struct erl_drv_event_data' has<br> no member named 'reqevents'<br> sys/common/erl_check_io.c:535: error: 'struct erl_drv_event_data' has<br> no member named 'reqevents'<br> <br> (there are other similar errors).  In sys/poll.h, for 32 bit<br> platforms, AIX defines events to reqevents and revents to rtnevents.<br> Without these defines, I get errors when the poll structure is used in<br> erl_poll.c.  Why that is being used for AIX, I don't know since select<br> is the preferred interface on AIX.<br> <br> I'm assuming that someone has compiled the R12B-2 version for AIX and<br> something changed between 2 and 3.<br> <br> I'm poking around trying to figure out how to work around this.  Any<br> suggestions would be welcomed.<br> <br> Thanks,<br> Perry Smith<br> <br> _______________________________________________<br> erlang-questions mailing list<br> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br> <a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br> </blockquote></div><br></blockquote></div></div></body></html>