Prev: tcl and powershell
Next: Delete spaces
From: shady on 28 Apr 2010 20:39 On Apr 28, 9:08 pm, Kevin Kenny <kenn...(a)acm.org> wrote: > shady wrote: > > Thank you, Kevin. It worked fine for this package. However, when I > > tried to do the same for another, it showed a bit of success with the > > configure and make commands. But, when I typed the "make install" one, > > I got the make error written slightly different this way: > > > make[1]: *** [install] Error 1 ; where the 1 in the square brackets is > > added this time. > > > Anyway, this error was bi-passed, then I got the Error 2 message which > > halted the "make install". Error 2 message looked like this: > > > make: *** [install] Error 2 > > > Any tips? > > If it's not Tcl itself that you're building, but some other package, > it would be helpful to tell us what package. Also, usually, the > "Error 1" line is preceded by a different error message that is likely > to be more informative. (The "Error 1" simply indicates that a > subprocess has exited with a nonzero status code.) > > -- > 73 de ke9tv/2, Kevin I'm trying to install the tclxml-3.2 package. I used the configure -- prefix, then "make install" as its documentation says. When I got the first Error 1 message "make: *** [tclxml.o] Error 1", I thought it might be related to some missing packages I haven't installed yet which the documentation recommended. These are the libxml2 and the libiconv. When I started installing the libxml2 package, I got again the Error 1 message. That's when I posted my first lines in this thread. And, adding the --prefix to the configure as you recommended solved it, followed by make and make install. When I went for the libiconv package, and followed the same steps, configure and make worked fine. But "make install" got me the Error 1 message followed by Error 2 message. Here are the last couple of lines of the error message: ld: fatal: recording name conflict: file 'path_I_put_in_the_prefix/lib/ libiconv.so' and file '/usr/local/lib/libiconv.so' provide identical dependency names: libiconv.so.2 (possible multiple inclusion of the same file) ld: fatal: file processing errors. No output written to iconv. collect2: ld returned 1 exit status make[1]: *** [install] Error 1 make[1]: Leaving directory 'path_I_ran_configure_from/src' make: *** [install] Error 2 I think this might be related with what phil has advised regarding the tclsh path. But, when I opened the Makefile, I found too many paths to change. If it has anything to do with paths, I think there might be one or two critical ones that I need to change, right? But, I don't know which variables I should change. I tried to look for the TCLMAKEVAR, but couldn't find it. Also, when I installed the first package libxml2, I noticed it's not like regular tcl packages which usually have packages stored in files ending with ".tcl". So, I even don't know when I successfully install them which path I should add to the auto_path variable. Thanks! |