Overview
| Artifact ID: | 96d64d2af27e65f41f5bc46d17a262286d2d6edc |
|---|---|
| Ticket: | ed982d0ec0dd95311df3e00bca079174006fc82f
Failed tclsh link on AIX. |
| User & Date: | anonymous on 2015-02-12 03:55:05 |
Changes
- icomment:
Hi, Since I do not know how to modify Makefiles or configure files, I just modified the source code file or the make command resulting from the Makefile. Some one that know what configure is doing to create the Makefile will have to look at what I did to the command to figure out how to fix the configure file to solve the problem. What I did appears below. *********************** * tcl make error * *********************** ####Problem when doing a "make" gcc -DNDEBUG -O2 -pipe tclAppInit.o \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tcl8.6.3/unix -ltcl8.6 libtclstub8.6.a -ldl -lz -lpthread -lc -lm \ -L/usr/local/lib -o tclsh ld: 0706-006 Cannot find or open library file: -l tcl8.6 ld:open(): A file or directory in the path name does not exist. collect2: error: ld returned 255 exit status Makefile:647: recipe for target 'tclsh' failed gmake: *** [tclsh] Error 1 BAD make command: gcc -DNDEBUG -O2 -pipe tclAppInit.o \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tcl8.6.3/unix -ltcl8.6 libtclstub8.6.a -ldl -lz -lpthread -lc -lm \ -L/usr/local/lib -o tclsh GOOD make command: gcc -DNDEBUG -O2 -pipe tclAppInit.o \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tcl8.6.3/unix -ltclstub8.6 libtcl8.6.so -ldl -lz -lpthread -lc -lm \ -L/usr/local/lib -o tclsh ####Same kind of problem when doing a "make test" *********************** * tk make error * *********************** Must fix the include <tcl.h> in the following files: (Change tcl.h to /opt/alinux/include/tcl.h) generic/tk.h generic/tkIntXlibDecls.h generic/ttk/ttkElements.c generic/ttk/ttkLabel.c generic/ttk/ttkTagSet.c ####Problem when doing a "make" BAD: gcc -O2 -pipe tkAppInit.o -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix -ltk8.6 \ -L/opt/alinux/lib -ltcl8.6 -lpthread -lc -lX11 -lXext -ldl -lz -lpthread -lc -lm -L/opt/alinux/lib -o wish Good: gcc -O2 -pipe tkAppInit.o -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix -ltkstub8.6 libtk8.6.so \ -L/opt/alinux/lib -ltclstub8.6 /opt/alinux/lib/libtcl8.6.so \ -lpthread -lc -lX11 -lXext -ldl -lz -lpthread -lc -lm -L/opt/alinux/lib -o wish ####Same kind of problem when doing a "make test" BAD: gcc -O2 -pipe tkTestInit.o tkTest.o tkSquare.o tkOldTest.o libtkstub8.6.a -L/opt/alinux/lib -ltclstub8.6 \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix -ltk8.6 \ -L/opt/alinux/lib -ltcl8.6 -lpthread -lc -lX11 -lXext -ldl -lz -lpthread -lc -lm -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix:/opt/alinux/lib -o tktest Good: gcc -O2 -pipe tkTestInit.o tkTest.o tkSquare.o tkOldTest.o libtk8.6.so -L/opt/alinux/lib -ltclstub8.6 \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix -ltkstub8.6 \ -L/opt/alinux/lib -ltclstub8.6 /opt/alinux/lib/libtcl8.6.so -lpthread -lc -lX11 -lXext -ldl -lz -lpthread -lc -lm \ -L/home/surfer/DownLoadLFNs/HTML/NEWS/BuildFirefox/tk8.6.3/unix:/opt/alinux/lib -o tktest - login: "anonymous"
- mimetype: "text/plain"
- username: "Anonymous - Dwight"