|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
Quote:
In general, this site doesn't provide support for porting new (not already found in the ports tree...) applications to OpenBSD as the number of people who answer questions here is quite small, & porting can become very tedious. On occasion, a question may be asked in which a member has significant experience. We welcome such exchanges to take place. However, porting can frequently be very details oriented, skills intensive, & time consuming. Managing expectations & leveraging skill sets can be difficult from both sides. Because of the magnitude of unknowns, we usually state upfront that this level of support is outside of what we can sustain. If any member wishes to help you in your quest, they are encouraged to speak up. Recognize that Linux uses a different filesystem structure, & the libraries available may not always be the same. Likewise, no information was provided as to what version of OpenBSD you are doing your work. You will likely need to dig into the code yourself to understand why the configuration files are not finding Tcl/Tk. My initial guess is because it may not be located in the same location as where it would be typically found on a Linux installation. Good luck in your quest. Last edited by ocicat; 12th August 2012 at 05:03 PM. Reason: clarity |
|
||||
I found a solution.
I edited the file "./emc/usr_intf/axis/extensions/togl.c", and it seems that gmake is searching "tk8.4a3.h" instead of "tk.h". So I tried a Code:
# ln -s /usr/local/include/tk8.4/tk.h /usr/local/include/tk8.4/tk8.4a3.h Quote:
Quote:
Yeah, I'll need some : that was just one error, the job is not done Thanks both of you. |
|
|||
Quote:
Code:
#ifdef USE_LOCAL_TK_H #include "tk8.4a3.h" #else #include <tk.h> #endif Otherwise, the way to debug this build properly is to look at what the configure script did or failed to do. It happens that Makefiles on random software packages do not respect your CFLAGS and LDFLAGS (one of the many reasons why it's much nicer when someone does a port/package for us). Did you have them set before running configure? If there's nothing in configure's output about, blah blah blah, Never mind that, just look in http://git.linuxcnc.org/gitweb?p=lin...9cd8a192fafcab section 5. See the answer to your question there? |
|
||||
Of course, but I'm still looking for a better solution...
Quote:
Quote:
Code:
./configure --with-tclConfig=<TclLocation> --with-tkConfig=<TkLocation> So I though that was enough, but apparently not... Right, but it'll wait tomorrow, I don't have enough beer to do that now |
|
||||
I took a quick look through the mailing list archives (misc@, ports@) and found no mention of LinuxCNC or the previous project named EMC2). If you don't get any positive responses here, you might try the ports@ mailing list. However, a complete description of the problem will be expected there.
The Porter's Handbook (addendum to FAQ 15) might also be helpful to you, though it does not cover root cause analysis for compilation issues like these. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gettext-dependent and gmake-dependent ports won't compile on openbsd 5.1 current | daemonfowl | OpenBSD Packages and Ports | 39 | 17th May 2012 09:14 PM |
Can't find portupgrade | FreeBee | FreeBSD Installation and Upgrading | 2 | 6th January 2010 02:09 PM |
pkg_add g95;g95 x.f95: cannot find g95 | enpey | OpenBSD Packages and Ports | 8 | 27th August 2008 12:48 AM |
How to find available IP addresses? | bigb89 | Programming | 16 | 20th August 2008 07:32 PM |
where might I find 'libcamel'? | Damien787 | FreeBSD Ports and Packages | 16 | 17th June 2008 11:35 PM |