|
|
mvnForum » List all forums » » Forum: General Discussion » » » Thread: Failed to Compile! Help |
|
| Print at May 20, 2013 9:36:47 AM | View all posts in this thread on one page |
| Posted by SurtaX at Jun 13, 2008 6:40:59 PM |
|
Failed to Compile! Help Hellp |
| Posted by SurtaX at Jun 13, 2008 6:45:03 PM |
|
Re: Failed to Compile! Help Hi I've looked through like every thread with compile errors and hae been crazily installing random packages in hope it will help compile sword but im still getting this error when running make afer i ./configure
|
| Posted by SurtaX at Jun 13, 2008 7:03:29 PM |
|
Re: Failed to Compile! Help And if i run userinst.sh instead of configure when running make i get this error instead ../src/utilfuns/utilstr.cpp:9:28: error: unicode/utypes.h: No such file or directory ../src/utilfuns/utilstr.cpp:10:26: error: unicode/ucnv.h: No such file or directory ../src/utilfuns/utilstr.cpp:11:29: error: unicode/ustring.h: No such file or directory ../src/utilfuns/utilstr.cpp:12:27: error: unicode/uchar.h: No such file or directory ../src/utilfuns/utilstr.cpp:14:28: error: unicode/unistr.h: No such file or directory ../src/utilfuns/utilstr.cpp:15:30: error: unicode/translit.h: No such file or directory |
| Posted by mdbergmann at Jun 14, 2008 6:38:06 AM |
|
Re: Failed to Compile! Help Sword uses curl and probably clucene by default. You need to check whether it is installed on your system. This is how I build: After unpacking: # ./autogen.sh # ./configure --prefix=/opt/sword --with-zlib --with-conf --with-curl # make all # make install Manfred |
| Posted by SurtaX at Jun 15, 2008 10:13:57 PM |
|
Re: Failed to Compile! Help Isn't this the default config? # ./configure --prefix=/opt/sword --with-zlib --with-conf --with-curl I dont know how/why it worked, but now it does. I still dont quite understand why normally on my Ubuntu desktop but took such difficulty and alteration of processes for my Xandros Laptop. But yes you my friend are a Genius =] Thank God for you, been praying for it to work. |
| Posted by mdbergmann at Jun 16, 2008 2:50:36 AM |
|
Re: Failed to Compile! Help Isn't this the default config? # ./configure --prefix=/opt/sword --with-zlib --with-conf --with-curl Well, yes, maybe. Not the --prefix, I think this defaults to /usr/local. The rest can be default. I think the autogen.sh is qzite important. At least it doesn't compile here if I don't call that first. Manfred |
| Posted by SurtaX at Jun 17, 2008 11:11:28 PM |
|
Re: Failed to Compile! Help Hi again, I recently tried out Jsword, because I thought it'll be more portable and be easier to share with friends (non-linux). Anyways, I got everything from svn and bible desktop builds fine. So I tried to get to know the code a bit better. Going into trunk/jsword -> src/main/java -> org.crosswire.jsword.examples. And so I was looking at the APIexamples.java and looked simple enough like normal Sword. But when I tried to run it, it gave me the following.... The archive: /common/jar/commons-logging-1.1/commons-logging-1.1.jar which is referenced by the classpath, does not exist. My understanding is that commons-logging-1.1 has since been named commons-logging-1.1.1.jar and the folder likewise, and thats why it cant find it. But however looking at the code of APIexaples.java i am not able to see where it makes a reference to it and hence what needs to be changed. Any help will be appreciated. |
|
|
Current timezone is GMT May 20, 2013 9:36:47 AM |