This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build Graphviz


On 15 October 2010 12:12, Yaakov (Cygwin/X)
<yselkowitz@users.sourceforge.net> 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 (narkewoody@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]