Re: Build Graphviz

2010-10-10 Thread Jeremy Bopp
On 10/10/2010 10:24 AM, Steven Woody wrote:
> Who succeeded in building Graphviz for cygwin?

Cygwin Ports has support to build version 2.26.3 from the look of things:

http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/graphics/graphviz/

-Jeremy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-10 Thread Yaakov (Cygwin/X)
On Sun, 2010-10-10 at 10:36 -0500, Jeremy Bopp wrote:
> On 10/10/2010 10:24 AM, Steven Woody wrote:
> > Who succeeded in building Graphviz for cygwin?
> 
> Cygwin Ports has support to build version 2.26.3 from the look of things:
> 
> http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/graphics/graphviz/

FYI, Ports SVN is obsolete; I'm now using Git:

http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz

YA package I should probably ITP...


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-10 Thread Jeremy Bopp
On 10/10/2010 12:39 PM, Yaakov (Cygwin/X) wrote:
> On Sun, 2010-10-10 at 10:36 -0500, Jeremy Bopp wrote:
>> On 10/10/2010 10:24 AM, Steven Woody wrote:
>>> Who succeeded in building Graphviz for cygwin?
>>
>> Cygwin Ports has support to build version 2.26.3 from the look of things:
>>
>> http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/graphics/graphviz/
> 
> FYI, Ports SVN is obsolete; I'm now using Git:
> 
> http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz

I thought I remembered you mentioning something to that effect sometime
in the past, but I didn't see anything about it at:

http://sourceware.org/cygwinports/

Is that no longer the right place to look?

> YA package I should probably ITP...

I would love it if that package made it into Cygwin proper because we
use graphviz for a few things where I work.  Right now, we have to use
the Windows native build and its installer because it's easier than
trying to get everyone using Cygwin Ports for just that one tool.  Of
course, we would also be satisfied if it was easier to use the Cygwin
Ports repository with Cygwin's setup.exe.

I'm well aware of the time limitations for any of this though, so I'm
certainly not demanding anything. ;-)

-Jeremy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-10 Thread Steven Woody
On 11 October 2010 02:51, Jeremy Bopp  wrote:
> On 10/10/2010 12:39 PM, Yaakov (Cygwin/X) wrote:
>> On Sun, 2010-10-10 at 10:36 -0500, Jeremy Bopp wrote:
>>> On 10/10/2010 10:24 AM, Steven Woody wrote:
 Who succeeded in building Graphviz for cygwin?
>>>
>>> Cygwin Ports has support to build version 2.26.3 from the look of things:
>>>
>>> http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/graphics/graphviz/
>>
>> FYI, Ports SVN is obsolete; I'm now using Git:
>>
>> http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz
>
> I thought I remembered you mentioning something to that effect sometime
> in the past, but I didn't see anything about it at:
>
> http://sourceware.org/cygwinports/
>
> Is that no longer the right place to look?
>
>> YA package I should probably ITP...
>
> I would love it if that package made it into Cygwin proper because we
> use graphviz for a few things where I work.  Right now, we have to use
> the Windows native build and its installer because it's easier than
> trying to get everyone using Cygwin Ports for just that one tool.  Of
> course, we would also be satisfied if it was easier to use the Cygwin
> Ports repository with Cygwin's setup.exe.
>
> I'm well aware of the time limitations for any of this though, so I'm
> certainly not demanding anything. ;-)
>
> -Jeremy
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>


It's strange ...  When use method of
'http://sourceware.org/cygwinports', I failed because I cannot found
graphviz package in the setup's package list window even though I did
see the package in the server's directory tree.

When use method of cygport directory, I also failed because cyyport
complained that 'php' is needed, it seems another port.  But  php is
likely a big family that contains a dozen of packages, that threatened
me :(

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-10 Thread Jeremy Bopp
On 10/10/2010 09:44 PM, Steven Woody wrote:
> It's strange ...  When use method of
> 'http://sourceware.org/cygwinports', I failed because I cannot found
> graphviz package in the setup's package list window even though I did
> see the package in the server's directory tree.
> 
> When use method of cygport directory, I also failed because cyyport
> complained that 'php' is needed, it seems another port.  But  php is
> likely a big family that contains a dozen of packages, that threatened
> me :(

The ports build by default tries to supply a number of support libraries
for a number of programming languages.  If you just want the graphviz
tools themselves, you will probably have to look into the details of
what the port is doing for the build and strip out the parts you don't want.

All you probably need are the patches used by the port to successfully
build the sources.  They are located along side the .cygport file at the
location indicated by Yaakov.  If you grab those patches and apply them
to the sources you downloaded earlier, you can probably perform your
original build without error.

-Jeremy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-11 Thread Steven Woody
On 11 October 2010 11:49, Jeremy Bopp  wrote:
> On 10/10/2010 09:44 PM, Steven Woody wrote:
>> It's strange ...  When use method of
>> 'http://sourceware.org/cygwinports', I failed because I cannot found
>> graphviz package in the setup's package list window even though I did
>> see the package in the server's directory tree.
>>
>> When use method of cygport directory, I also failed because cyyport
>> complained that 'php' is needed, it seems another port.  But  php is
>> likely a big family that contains a dozen of packages, that threatened
>> me :(
>
> The ports build by default tries to supply a number of support libraries
> for a number of programming languages.  If you just want the graphviz
> tools themselves, you will probably have to look into the details of
> what the port is doing for the build and strip out the parts you don't want.
>
> All you probably need are the patches used by the port to successfully
> build the sources.  They are located along side the .cygport file at the
> location indicated by Yaakov.  If you grab those patches and apply them
> to the sources you downloaded earlier, you can probably perform your
> original build without error.
>
> -Jeremy

Thanks Jeremy.  I like to try the patches.  But I get the source from
svn rather than the git as Yaakov suggested.  Actually, I am not so
well understand the page
"http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz";,
 How should I get files from there? If I click on the file, I will be
just bring into another web page with file source shown with line
numbers.

Another question is, what patches I should apply?  Only the 2.26.* or
the all other 2.*.* patches?  Thanks a lot.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-12 Thread Yaakov (Cygwin/X)
On Tue, 2010-10-12 at 11:21 +0800, Steven Woody wrote:
> Thanks Jeremy.  I like to try the patches.  But I get the source from
> svn rather than the git as Yaakov suggested.  Actually, I am not so
> well understand the page
> "http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz";,
>  How should I get files from there? If I click on the file, I will be
> just bring into another web page with file source shown with line
> numbers.

There is a "snapshot" link on each page which will give you a tarball
consisting of the files in that directory.

> Another question is, what patches I should apply?  Only the 2.26.* or
> the all other 2.*.* patches?

Leave that to cygport.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-12 Thread Jeremy Bopp
On 10/12/2010 4:58 AM, Yaakov (Cygwin/X) wrote:
> On Tue, 2010-10-12 at 11:21 +0800, Steven Woody wrote:
>> Thanks Jeremy.  I like to try the patches.  But I get the source from
>> svn rather than the git as Yaakov suggested.  Actually, I am not so
>> well understand the page
>> "http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz";,
>>  How should I get files from there? If I click on the file, I will be
>> just bring into another web page with file source shown with line
>> numbers.
> 
> There is a "snapshot" link on each page which will give you a tarball
> consisting of the files in that directory.
> 
>> Another question is, what patches I should apply?  Only the 2.26.* or
>> the all other 2.*.* patches?
> 
> Leave that to cygport.

I think the problem here is that the port is configured to depend on a
number of other packages so that it will be able to build various
language bindings.  Steven doesn't seem to need those bindings right now.

I'm having trouble finding an easy way to use the port to build just
graphviz itself without editing the .cygport file.  Is there a way to do
this?

-Jeremy

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-12 Thread Yaakov (Cygwin/X)
On Tue, 2010-10-12 at 11:28 -0500, Jeremy Bopp wrote:
> I think the problem here is that the port is configured to depend on a
> number of other packages so that it will be able to build various
> language bindings.  Steven doesn't seem to need those bindings right now.
> 
> I'm having trouble finding an easy way to use the port to build just
> graphviz itself without editing the .cygport file.  Is there a way to do
> this?

The easy way *is* to edit the .cygport file.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-13 Thread Steven Woody
On 12 October 2010 17:58, Yaakov (Cygwin/X)
 wrote:
> On Tue, 2010-10-12 at 11:21 +0800, Steven Woody wrote:
>> Thanks Jeremy.  I like to try the patches.  But I get the source from
>> svn rather than the git as Yaakov suggested.  Actually, I am not so
>> well understand the page
>> "http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/ports;a=tree;f=graphics/graphviz";,
>>  How should I get files from there? If I click on the file, I will be
>> just bring into another web page with file source shown with line
>> numbers.
>
> There is a "snapshot" link on each page which will give you a tarball
> consisting of the files in that directory.

got it, thanks.

>
>> Another question is, what patches I should apply?  Only the 2.26.* or
>> the all other 2.*.* patches?
>
> Leave that to cygport.
>

What means 'leave to cygport',  does you mean I just need to run
cygport and the tool will pickup correct patches without my
interfering?

Thanks.
>
> Yaakov
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-13 Thread Yaakov (Cygwin/X)
On Thu, 2010-10-14 at 00:40 +0800, Steven Woody wrote:
> What means 'leave to cygport',  does you mean I just need to run
> cygport and the tool will pickup correct patches without my
> interfering?

cygport will apply all patches listed in PATCH_URI when unpacking the
sources.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-14 Thread Steven Woody
On 14 October 2010 04:01, Yaakov (Cygwin/X)
 wrote:
> On Thu, 2010-10-14 at 00:40 +0800, Steven Woody wrote:
>> What means 'leave to cygport',  does you mean I just need to run
>> cygport and the tool will pickup correct patches without my
>> interfering?
>
> cygport will apply all patches listed in PATCH_URI when unpacking the
> sources.
>
>
> Yaakov
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>


Thanks Yaakov! It seems that I succeeded following the README file in
the graphviz port package.  I uncompress the package into the /usr/src
followed by doing a 'cygport graphviz-*.cygport download' and 'cygport
graphviz-*.cygport all'.

The process seems quite successful except after run I still don't get
the graphviz installed.  I have to launch the cygwin setup.exe and
point it to the local directory of /usr/src and then do a installation
for packages found there.  Is this normal?

And, a little strange is, there are so many packages (*.tar.bz2) found
in my /usr/src directory, more than those generated from graphviz
build process as the README noted, these packages includes boots-*
freetype-*  gcc-testsuite-*.  I don't why I have these packages in the
/usr/src and I can remember that I did not touched /usr/src directory
before.  Do you have a clue?

Thank you again.

-
narke

-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-14 Thread Yaakov (Cygwin/X)
On Fri, 2010-10-15 at 00:06 +0800, Steven Woody wrote:
> Thanks Yaakov! It seems that I succeeded following the README file in
> the graphviz port package.  I uncompress the package into the /usr/src
> followed by doing a 'cygport graphviz-*.cygport download' and 'cygport
> graphviz-*.cygport all'.
> 
> The process seems quite successful except after run I still don't get
> the graphviz installed.  I have to launch the cygwin setup.exe and
> point it to the local directory of /usr/src and then do a installation
> for packages found there.  Is this normal?

Yes, cygport only *creates* packages, it does nothing about installing
them.  In order to install these packages with setup.exe, you need to
use genini to create a setup.ini, etc., as documented on the website.

> And, a little strange is, there are so many packages (*.tar.bz2) found
> in my /usr/src directory, more than those generated from graphviz
> build process as the README noted, these packages includes boots-*
> freetype-*  gcc-testsuite-*.  I don't why I have these packages in the
> /usr/src and I can remember that I did not touched /usr/src directory
> before.  Do you have a clue?

You must have installed 'Src' packages with setup.exe.


Yaakov



--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Build Graphviz

2010-10-14 Thread Steven Woody
On 15 October 2010 12:12, Yaakov (Cygwin/X)
 wrote:
> On Fri, 2010-10-15 at 00:06 +0800, Steven Woody wrote:
>> Thanks Yaakov! It seems that I succeeded following the README file in
>> the graphviz port package.  I uncompress the package into the /usr/src
>> followed by doing a 'cygport graphviz-*.cygport download' and 'cygport
>> graphviz-*.cygport all'.
>>
>> The process seems quite successful except after run I still don't get
>> the graphviz installed.  I have to launch the cygwin setup.exe and
>> point it to the local directory of /usr/src and then do a installation
>> for packages found there.  Is this normal?
>
> Yes, cygport only *creates* packages, it does nothing about installing
> them.  In order to install these packages with setup.exe, you need to
> use genini to create a setup.ini, etc., as documented on the website.
>
>> And, a little strange is, there are so many packages (*.tar.bz2) found
>> in my /usr/src directory, more than those generated from graphviz
>> build process as the README noted, these packages includes boots-*
>> freetype-*  gcc-testsuite-*.  I don't why I have these packages in the
>> /usr/src and I can remember that I did not touched /usr/src directory
>> before.  Do you have a clue?
>
> You must have installed 'Src' packages with setup.exe.
>

Yaakov, many thanks for the answering. I now understand.

While build success in my home computer yesterday, I failed do the
same thing in my office computer this morning.  The cygwin version are
all 1.7.X and the procedure I followed should be the same.  Below I
cut the error message, if you have some time, please again help to
check it.   Thanks again!

libtool: compile:  gcc -DHAVE_CONFIG_H -I.
-I/usr/src/graphviz-2.26.3-2/src/grap
   hviz-2.26.3/lib/gvc -I../..
-I/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3 -I/

usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/lib/common
-I/usr/src/graphviz-2.2
 6.3-2/src/graphviz-2.26.3/lib/pathplan
-I/usr/src/graphviz-2.26.3-2/src/graphviz
   -2.26.3/lib/graph
-I/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/lib/cdt -I/us

r/src/graphviz-2.26.3-2/src/graphviz-2.26.3/libltdl
-DGVLIBDIR=\"/usr/lib/graphv
  iz\" -g -O2 -pipe
-Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall

-ffast-math -MT gvusershape.lo -MD -MP -MF .deps/gvusershape.Tpo -c
/usr/src/gr

aphviz-2.26.3-2/src/graphviz-2.26.3/lib/gvc/gvusershape.c
-DDLL_EXPORT -DPIC -o
.libs/gvusershape.o
In file included from
/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/lib/common/

types.h:36,
 from
/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/lib/gvc/gvp

lugin.c:27:
/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/lib/gvc/gvcext.h:83:
error: confl
  icting types for
'lt__PROGRAM__LTX_preloaded_symbols'
/usr/src/graphviz-2.26.3-2/src/graphviz-2.26.3/libltdl/ltdl.h:106:
error: previo
   us declaration of
'lt__PROGRAM__LTX_preloaded_symbols' was here
make[2]: *** [gvplugin.lo] Error 1
make[2]: *** Waiting for unfinished jobs
mv -f .deps/gvtextlayout.Tpo .deps/gvtextlayout.Plo
mv -f .deps/gvusershape.Tpo .deps/gvusershape.Plo
make[2]: Leaving directory `/usr/src/graphviz-2.26.3-2/build/lib/gvc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/graphviz-2.26.3-2/build/lib'
make: *** [install-recursive] Error 1
*** ERROR: make install DESTDIR failed
>>> Packaging graphviz-2.26.3-2
>>> Creating binary package(s)
>>> graphviz-2.26.3-2.tar.bz2
usr/bin/
usr/share/doc/
usr/share/doc/graphviz/
usr/share/doc/graphviz/html/
usr/share/doc/graphviz/pdf/
usr/share/doc/graphviz/pdf/cdt.3.pdf
usr/share/doc/graphviz/pdf/cgraph.3.pdf
usr/share/doc/graphviz/pdf/graph.3.pdf
usr/share/doc/graphviz/pdf/pathplan.3.pdf
usr/share/doc/graphviz/pdf/xdot.3.pdf
tar: usr/share/graphviz: Cannot stat: No such file or directory
tar: usr/share/man/man1: Cannot stat: No such file or directory
tar: usr/share/man/man7: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
*** ERROR: Binary package creation failed


>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewo...@gmail.com)

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple