Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Error On NeoOffice 1.2 Patch 5 build
Error On NeoOffice 1.2 Patch 5 build
 
   NeoOffice Forum Index -> NeoOffice Development
View previous topic :: View next topic  
Author Message
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Mon Dec 12, 2005 9:29 pm    Post subject: Error On NeoOffice 1.2 Patch 5 build

I get the following error when I was building the latest patch of NeoOffice 1.2:

Code:
curl -L
"http://ftp.services.openoffice.org/pub/OpenOffice.org/
contrib/dictionaries/available.lst"
| awk -F, '{ print "# DICT " $1 " " $2 " " $3 }' >> "dic/dictionary.lst"
curl: (1) libcurl was built with HTTP disabled,
http: not supported!
make: *** [build.oo_download_dics] Error 1


Is this because of something that I did or is NeoOffice 1.2 broke again?

James


Last edited by jjmckenzie51 on Tue Dec 13, 2005 11:23 am; edited 1 time in total
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Dec 12, 2005 9:33 pm    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

jjmckenzie51 wrote:
I get the following error when I was building the latest patch of NeoOffice 1.2:

Code:
curl -L "http://ftp.services.openoffice.org/pub/OpenOffice.org/
contrib/dictionaries/available.lst"
| awk -F, '{ print "# DICT " $1 " " $2 " " $3 }' >> "dic/dictionary.lst"
curl: (1) libcurl was built with HTTP disabled, http: not supported!
make: *** [build.oo_download_dics] Error 1


Is this because of something that I did or is NeoOffice 1.2 broke again?

James


Seems to me that you have a custom version of "libcurl.dylib" as I cannot figure what on earth curl would be useful for when compiled without HTTP support.

Are you sure that you ran the build in a clean shell i.e. DYLD_LIBRARY_PATH is not set? I ask because, IIRC, OOo 2.0 builds it own copy of curl.

Patrick
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Mon Dec 12, 2005 10:01 pm    Post subject:

Yet another reason to hate projects that embed their own versions of reality....

ed <--- remember when this happened with berkeleydb
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Mon Dec 12, 2005 11:57 pm    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
I get the following error when I was building the latest patch of NeoOffice 1.2:

Code:
curl -L "http://ftp.services.openoffice.org/pub/OpenOffice.org/
contrib/dictionaries/available.lst"
| awk -F, '{ print "# DICT " $1 " " $2 " " $3 }' >> "dic/dictionary.lst"
curl: (1) libcurl was built with HTTP disabled, http: not supported!
make: *** [build.oo_download_dics] Error 1


Is this because of something that I did or is NeoOffice 1.2 broke again?

James


Seems to me that you have a custom version of "libcurl.dylib" as I cannot figure what on earth curl would be useful for when compiled without HTTP support.


That was good for a much-needed laugh today, Patrick. (Sorry, James Wink)

(Really, what on earth?! LOL)

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Tue Dec 13, 2005 3:55 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
I get the following error when I was building the latest patch of NeoOffice 1.2:

Is this because of something that I did or is NeoOffice 1.2 broke again?

James


Seems to me that you have a custom version of "libcurl.dylib" as I cannot figure what on earth curl would be useful for when compiled without HTTP support.

Are you sure that you ran the build in a clean shell i.e. DYLD_LIBRARY_PATH is not set? I ask because, IIRC, OOo 2.0 builds it own copy of curl.


I'll check the DYLIB path and it does not make any sense to build curl without HTTP support as that is what it was designed for. However, we are using HTTP to access an FTP site, too. Is there a way to change that code to use FTP rather than HTTP?

James


Last edited by jjmckenzie51 on Tue Dec 13, 2005 11:29 am; edited 1 time in total
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 13, 2005 6:12 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

jjmckenzie51 wrote:
I'll check the DYLIB path and it does not make any sense to build curl without HTTP support as that is what it was designed for. However, we are using HTTP to access an FTP site, too. Is there a way to change that code to use FTP rather than HTTP?


This is an HTTP site. Just because the server's name has "ftp" in it doesn't mean that it only responds to FTP requests. In fact, this server is running an Apache 2.0 web server. Furthermore, since I need the directory listing that Apache provides for a directory URL, using the FTP protocol would require much more scripting to make work.

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Tue Dec 13, 2005 9:28 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
I'll check the DYLIB path and it does not make any sense to build curl without HTTP support as that is what it was designed for. However, we are using HTTP to access an FTP site, too. Is there a way to change that code to use FTP rather than HTTP?


This is an HTTP site. Just because the server's name has "ftp" in it doesn't mean that it only responds to FTP requests. In fact, this server is running an Apache 2.0 web server. Furthermore, since I need the directory listing that Apache provides for a directory URL, using the FTP protocol would require much more scripting to make work.


I'll look at the OpenOffice 2.0 code and see if the pulled the same 'trick'. If so, it is time to open an IZ and get this fixed.

James
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 13, 2005 9:36 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

jjmckenzie51 wrote:
'll look at the OpenOffice 2.0 code and see if the pulled the same 'trick'. If so, it is time to open an IZ and get this fixed.


Huh? How did we go from looking at your environment variables to changing OpenOffice.org 2.0 code?

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Tue Dec 13, 2005 10:15 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
'll look at the OpenOffice 2.0 code and see if the pulled the same 'trick'. If so, it is time to open an IZ and get this fixed.


Huh? How did we go from looking at your environment variables to changing OpenOffice.org 2.0 code?


Ok, I missed a step and did not describe what I did to come to the conclusion that an IZ is needed to fix the problem with the curl library not allowing http transfers. I looked at the makefile.mk for the curl module as checked out from OpenOffice.org. The ./configure line specifically has --disable-http in it. Thus, curl, as build by OpenOffice has http transfer turned off, which is what the error I received and posted above states. I do not know if you set up ./configure for NeoOffice to use system curl or the curl as build by OpenOffice as I have not checked NeoOffice's makefile. I did check /usr/bin/curl and it does use http. Thus, I could try to build NeoOffice with a change in the ./configure line for OpenOffice to use system curl at the location I just stated and to not build the curl library file.
My conclusion is to add an IZ, if needed, to enable the curl libary to use http transfers, a change in the OpenOffice code will be needed for at least 1.1.5 and possibly for 2.0.

James
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 13, 2005 10:29 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

jjmckenzie51 wrote:
Does this make more sense? Thus in order to enable the curl libary to use http transfers, a change in the OpenOffice code will be needed for at least 1.1.5 and possibly for 2.0.


Yes it makes sense. You are most likely sourcing the OOo 2.0 build environment and then you are trying to invoking the NeoOffice build with these OOo 2.0 build environment variables. NeoOffice is meant to be built with a clean environment and it cannot intelligently detect and account for PATHs and DYLD_LIBRARY_PATHs that point to something other than the standard system paths.

On Panther, here are the standard values:

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/local/bin
DYLD_LIBRARY_PATH (not set)

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Tue Dec 13, 2005 11:20 am    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
Does this make more sense? Thus in order to enable the curl libary to use http transfers, a change in the OpenOffice code will be needed for at least 1.1.5 and possibly for 2.0.


Yes it makes sense. You are most likely sourcing the OOo 2.0 build environment and then you are trying to invoking the NeoOffice build with these OOo 2.0 build environment variables. NeoOffice is meant to be built with a clean environment and it cannot intelligently detect and account for PATHs and DYLD_LIBRARY_PATHs that point to something other than the standard system paths.


I don't think that I was sourcing the OpenOffice 2.0 build environment, but I can check. I usually start a build with a new terminal window.

pluby wrote:

On Panther, here are the standard values:

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/local/bin
DYLD_LIBRARY_PATH (not set)


I usually have my path set to:
/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin:/usr/local/bin (I use Fink rather than DarwinPorts)

Again, I would like to point out that the curl module is using --disable-http. However, I will check again and make sure that I'm not sourcing OpenOffice 2.0 by restarting the build in a fresh window.

Also, does NeoOffice 1.2 state to use system curl or curl as build by OpenOffice for further processing?

James
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Dec 13, 2005 12:04 pm    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

jjmckenzie51 wrote:
Also, does NeoOffice 1.2 state to use system curl or curl as build by OpenOffice for further processing?


It should be obvious if you look at the neojava/makefile. Do you see any sourcing of the OpenOffice.org build paths for the make rule that is breaking?

Sorry if I sound annoyed, but I still haven't seen any simple debugging steps from you yet and it is apparent to me that you are not reading the makefile. What is your DYLD_LIBRARY_PATH environment variable set to? Have you done a "which curl" command. In other words, are you using the system default curl or not?

Patrick
Back to top
jjmckenzie51
The Anomaly


Joined: Apr 01, 2005
Posts: 1055
Location: Southeastern Arizona

PostPosted: Tue Dec 13, 2005 12:15 pm    Post subject: Re: Error On NeoOffice 1.2 Patch 5 build

pluby wrote:
jjmckenzie51 wrote:
Also, does NeoOffice 1.2 state to use system curl or curl as build by OpenOffice for further processing?


It should be obvious if you look at the neojava/makefile. Do you see any sourcing of the OpenOffice.org build paths for the make rule that is breaking?

Sorry if I sound annoyed, but I still haven't seen any simple debugging steps from you yet and it is apparent to me that you are not reading the makefile. What is your DYLD_LIBRARY_PATH environment variable set to? Have you done a "which curl" command. In other words, are you using the system default curl or not?


Sorry if I am annoying, but I'm not near my build machine and will not be until this evening. It appears that something is wrong and that is why, as a first troubleshooting step, I'm going to clean out the directory where I'm building NeoOffice 1.2 (again) and restart the build from a clean terminal session. This may fix the problem that I experienced with NeoOffice using the OpenOffice build curl library rather than the system curl. Also, I will do a 'which curl' as an additional troubleshooting step.

Update I checked the configure line and you are using internal curl from what I gather to build the OpenOffice part of NeoOffice. The 'which curl' command returns /usr/bin/curl, which should have http transfer support. Again, I will restart the build from a new terminal session.

James
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Development All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.