building doxygen with wizard variant fails
Alejandro Aragon
alejandro.aragon at gmail.com
Tue Apr 8 18:26:55 PDT 2008
Well, if you tell me what to do, I could give it a try. Also, now that
the Portfile builds doxygen with the doxywizard, is it going to be
updated? Something I don't really understand is that when you run port
sync or port selfupdate, the doxygen port will be replaced by the one
in the server, which is the old one, right? So how to get around this?
aa
On Apr 8, 2008, at 8:21 PM, Marcus Calhoun-Lopez wrote:
> Excellent.
>
> The variant wizard builds doxywizard, which is an X11 program build
> with qt3.
> The variant wizardapp builds a regular double clickable Mac OS
> application
> (Doxywizard.app in /Applications/MacPorts) which then in turn runs
> doxywizard.
>
> wizardapp used to work, but it broke some time ago (either because
> of a doxygen upgrade or an OS upgrade).
> The error on Leopard is "LSOpenFromURLSpec() failed with error
> -10810".
> Neither I, nor the maintainer, nor anyone else has put in the effort
> to make it work again.
> No one seems to have a strong incentive to get it to work.
>
> -Marcus
>
> On Apr 8, 2008, at 7:05 PM, Alejandro Aragon wrote:
>> Marcus,
>>
>> I uninstalled doxygen, deleted files doxygen, doxytag and
>> doxywizard from /opt/local. Reinstalled doxygen with wizard option,
>> and now the installation went smoothly. Now:
>>
>> aaragon@/opt/local/bin$port provides doxygen
>> /opt/local/bin/doxygen is provided by: doxygen
>>
>> so I guess everything is fine. I would like to ask you also what is
>> the difference between wizard and wizard-app? and why the wizard-
>> app does not work?
>>
>> aa
>>
>> On Apr 8, 2008, at 7:52 PM, Marcus Calhoun-Lopez wrote:
>>
>>> There may be a bug in the Portfile, but it has been working for me.
>>> I have also had this problem after I interrupted an installation
>>> during the Activation phase.
>>>
>>> Since /opt/local/bin/doxygen does not belong to any port, I would
>>> remove it manually.
>>> Once doxygen is installed, you can make sure that it is not a bug
>>> with the command:
>>> port provides /opt/local/bin/doxygen
>>>
>>> If all went well, this should belong to the port doxygen.
>>>
>>> -Marcus
>>>
>>> On Apr 8, 2008, at 3:38 PM, Alejandro Aragon wrote:
>>>> Hi Marcus,
>>>>
>>>> I did what you mentioned and the installation went fine this
>>>> time. However, just before it finished, it had an error:
>>>>
>>>> $sudo port install doxygen +wizard
>>>> ---> Fetching doxygen
>>>> ---> Attempting to fetch doxygen-1.5.5.src.tar.gz from ftp://ftp.stack.nl/pub/users/dimitri/
>>>> ---> Verifying checksum(s) for doxygen
>>>> ---> Extracting doxygen
>>>> ---> Applying patches to doxygen
>>>> ---> Configuring doxygen
>>>> ---> Building doxygen with target all pdf
>>>> ---> Staging doxygen into destroot
>>>> ---> Installing doxygen 1.5.5_0+darwin_9+wizard
>>>> ---> Activating doxygen 1.5.5_0+darwin_9+wizard
>>>> Error: Target org.macports.activate returned: Image error: /opt/
>>>> local/bin/doxygen already exists and does not belong to a
>>>> registered port. Unable to activate port doxygen.
>>>> Error: Status 1 encountered during processing.
>>>>
>>>>
>>>> I made sure that doxygen was not installed before this. Is this
>>>> something that needs to be fixed?
>>>>
>>>> aa
>>>>
>>>> On Apr 8, 2008, at 1:48 AM, Marcus Calhoun-Lopez wrote:
>>>>
>>>>> In the same directory as the Portfile, there is a directory
>>>>> called files.
>>>>> Put the file qfiledefs_p.patch (downloaded from the Ticket page)
>>>>> into the files directory.
>>>>>
>>>>> Since it is not there now, MacPorts is trying (unsuccessfully)
>>>>> to download it.
>>>>>
>>>>> On Leopard, I have the wizard variant working but not the
>>>>> wizardapp variant.
>>>>>
>>>>> -Marcus
>>>>>
>>>>> On Apr 7, 2008, at 11:12 PM, Alejandro Aragon wrote:
>>>>>> I downloaded the .diff file and applied the patch manually. Then:
>>>>>>
>>>>>> aaragon@/opt/local/var/macports/sources/rsync.macports.org/
>>>>>> release/ports/textproc/doxygen$sudo port -v install doxygen
>>>>>> +wizard
>>>>>> ---> Fetching doxygen
>>>>>> ---> qfiledefs_p.patch doesn't seem to exist in /opt/local/var/
>>>>>> macports/distfiles/doxygen
>>>>>> ---> Attempting to fetch qfiledefs_p.patch from http://svn.macports.org/repository/macports/distfiles/doxygen
>>>>>> % Total % Received % Xferd Average Speed Time Time
>>>>>> Time Current
>>>>>> Dload Upload Total Spent
>>>>>> Left Speed
>>>>>> 0 0 0 0 0 0 0 0 --:--:-- --:--:--
>>>>>> --:--:-- 0
>>>>>> ---> Attempting to fetch qfiledefs_p.patch from http://svn.macports.org/repository/macports/distfiles/general/
>>>>>> % Total % Received % Xferd Average Speed Time Time
>>>>>> Time Current
>>>>>> Dload Upload Total Spent
>>>>>> Left Speed
>>>>>> 0 0 0 0 0 0 0 0 --:--:-- --:--:--
>>>>>> --:--:-- 0
>>>>>> ---> Attempting to fetch qfiledefs_p.patch from http://svn.macports.org/repository/macports/downloads/doxygen
>>>>>> % Total % Received % Xferd Average Speed Time Time
>>>>>> Time Current
>>>>>> Dload Upload Total Spent
>>>>>> Left Speed
>>>>>> 0 0 0 0 0 0 0 0 --:--:-- --:--:--
>>>>>> --:--:-- 0
>>>>>> Error: Target org.macports.fetch returned: fetch failed
>>>>>> Warning: the following items did not execute (for doxygen):
>>>>>> org.macports.activate org.macports.fetch org.macports.extract
>>>>>> org.macports.checksum org.macports.patch org.macports.configure
>>>>>> org.macports.build org.macports.destroot org.macports.install
>>>>>> Error: Status 1 encountered during processing.
>>>>>>
>>>>>> and the same with the wizardapp variant. I went to that
>>>>>> location in the repository and doxygen does not exist.
>>>>>>
>>>>>> Am I doing something wrong here or the patch is not good?
>>>>>>
>>>>>> aa
>>>>>>
>>>>>> On Apr 7, 2008, at 11:21 PM, Marcus Calhoun-Lopez wrote:
>>>>>>
>>>>>>> There is some discussion about this issue (as well as a patch)
>>>>>>> on the ticket:
>>>>>>> http://trac.macports.org/projects/macports/ticket/14603
>>>>>>>
>>>>>>> -Marcus
>>>>>>>
>>>>>>> On Apr 7, 2008, at 9:15 PM, Alejandro Aragon wrote:
>>>>>>>> Hello everyone,
>>>>>>>>
>>>>>>>> I tried to build doxygen with the doxywizard variant, which
>>>>>>>> depends on qt and I had these errors:
>>>>>>>>
>>>>>>>> aaragon@~$sudo port install doxygen +wizard
>>>>>>>> ---> Fetching doxygen
>>>>>>>> ---> Verifying checksum(s) for doxygen
>>>>>>>> ---> Extracting doxygen
>>>>>>>> ---> Applying patches to doxygen
>>>>>>>> ---> Configuring doxygen
>>>>>>>> ---> Building doxygen with target all pdf
>>>>>>>> Error: Target org.macports.build returned: shell command " cd
>>>>>>>> "/opt/local/var/macports/build/
>>>>>>>> _opt_local_var_macports_sources_rsync
>>>>>>>> .macports.org_release_ports_textproc_doxygen/work/
>>>>>>>> doxygen-1.5.4" && make all pdf " returned error 2
>>>>>>>> Command output: doxywizard.cpp:1414: error: 'fn' was not
>>>>>>>> declared in this scope
>>>>>>>> doxywizard.cpp:1416: error: 'QFile' was not declared in this
>>>>>>>> scope
>>>>>>>> doxywizard.cpp:1416: error: expected `;' before 'f'
>>>>>>>> doxywizard.cpp:1417: error: 'f' was not declared in this scope
>>>>>>>> doxywizard.cpp:1417: error: 'IO_WriteOnly' was not declared
>>>>>>>> in this scope
>>>>>>>> doxywizard.cpp:1419: error: 'QTextStream' was not declared in
>>>>>>>> this scope
>>>>>>>> doxywizard.cpp:1419: error: expected `;' before 't'
>>>>>>>> doxywizard.cpp:1420: error: 't' was not declared in this scope
>>>>>>>> doxywizard.cpp:1420: error: invalid use of undefined type
>>>>>>>> 'struct QTextEdit'
>>>>>>>> doxywizard.h:15: error: forward declaration of 'struct
>>>>>>>> QTextEdit'
>>>>>>>> doxywizard.cpp:1421: error: 'statusBar' was not declared in
>>>>>>>> this scope
>>>>>>>> doxywizard.cpp:1425: error: 'QMessageBox' has not been declared
>>>>>>>> doxywizard.cpp:1426: error: 'warning' was not declared in
>>>>>>>> this scope
>>>>>>>> doxywizard.cpp: In function 'int main(int, char**)':
>>>>>>>> doxywizard.cpp:1435: error: 'QApplication' was not declared
>>>>>>>> in this scope
>>>>>>>> doxywizard.cpp:1435: error: expected `;' before 'a'
>>>>>>>> doxywizard.cpp:850: error: 'MainWidget::~MainWidget()' is
>>>>>>>> private
>>>>>>>> doxywizard.cpp:1436: error: within this context
>>>>>>>> doxywizard.cpp:1119: error: 'void
>>>>>>>> MainWidget::loadConfigFromFile(int)' is private
>>>>>>>> doxywizard.cpp:1439: error: within this context
>>>>>>>> doxywizard.cpp:1439: error: invalid conversion from 'char*'
>>>>>>>> to 'int'
>>>>>>>> doxywizard.cpp:1439: error: initializing argument 1 of
>>>>>>>> 'void MainWidget::loadConfigFromFile(int)'
>>>>>>>> doxywizard.cpp:1443: error: 'printf' was not declared in this
>>>>>>>> scope
>>>>>>>> doxywizard.cpp:1446: error: 'a' was not declared in this scope
>>>>>>>> doxywizard.cpp:1447: error: 'class MainWidget' has no member
>>>>>>>> named 'show'
>>>>>>>> gmake[2]: *** [obj/doxywizard.o] Error 1
>>>>>>>> gmake[2]: Leaving directory `/opt/local/var/macports/build/
>>>>>>>> _opt_local_var_macports_sources_rsync
>>>>>>>> .macports.org_release_ports_textproc_doxygen/work/
>>>>>>>> doxygen-1.5.4/addon/doxywizard'
>>>>>>>> gmake[1]: *** [all] Error 2
>>>>>>>> gmake[1]: Leaving directory `/opt/local/var/macports/build/
>>>>>>>> _opt_local_var_macports_sources_rsync
>>>>>>>> .macports.org_release_ports_textproc_doxygen/work/
>>>>>>>> doxygen-1.5.4/addon/doxywizard'
>>>>>>>> make: *** [all] Error 2
>>>>>>>>
>>>>>>>> aa
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> macports-users mailing list
>>>>>>>> macports-users at lists.macosforge.org
>>>>>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
More information about the macports-users
mailing list