build fails with "--with-perl"

Bug #167955 reported by Bug Importer
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Alex Valavanis

Bug Description

Hi all,

In recent inkscape svn (20060910):

the variable in which the linker flags for Perl are
stored is called PERL_LDFLAGS (that is specified in
some makefile.am and executed by configure)

However in inkscape/src/Makefile_insert that variable
is referred to as "PERL_LIBS". Linking something
against perl fails therefore while building inkscape.

Please rename one of both

Thanks

Tags: build
Revision history for this message
Prokoudine (prokoudine) wrote :

Originator: NO

IIRC, --with-perl switch is obsolete now. Could we remove it then?

Revision history for this message
Hans Ulrich Niedermann (ndim) wrote :

I have just downloaded and configured SVN trunk (https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk, Revision: 16636).

Without --with-perl, the ./configure output summary at the end said:

        Internal Python: skipped
        Internal Perl: skipped

With --with-perl, it says:

        Internal Python: skipped
        Internal Perl: yes

So I'm not quite sure --with-perl is totally obsolete (without having actually checked deeper into the makefiles).

Revision history for this message
Bryce Harrington (bryce) wrote :

Yes, --with-perl was never fully implemented, and is today obsolete. If someone attaches a patch to remove it, we can commit it, and close this bug.

Revision history for this message
Bryce Harrington (bryce) wrote :

Places to remove it includes:
 configure.ac
 src/ui/dialog/scriptdialog.cpp

Ryan Lerch (ryanlerch)
Changed in inkscape:
status: New → Confirmed
Bryce Harrington (bryce)
Changed in inkscape:
assignee: bryceharrington → nobody
Revision history for this message
Popolon (popolon) wrote :

This bug was filled in 2006, at this time I had too this kind of bugs compiling perl.

Today Inkscape compile without problems using --with-perl and there still are perl scripts in extensions (don't know if it really used in this case).

embed_raster_in_svg.pl
ill2svg.pl
outline2svg.pl
txt2svg.pl

are this scipt called externally or libperl partially called by inkscape ?

Revision history for this message
su_v (suv-lp) wrote :

> there still are perl scripts in extensions (…).
>
> embed_raster_in_svg.pl
> ill2svg.pl
> outline2svg.pl
> txt2svg.pl
>
> are this scipt called externally

Yes.

> or libperl partially called by inkscape ?

No (see comment #3, #4)

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Sounds like this (and "--with-python") can safely be removed. Running a test build now.

Changed in inkscape:
assignee: nobody → Alex Valavanis (valavanisalex)
status: Triaged → In Progress
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Fix committed in lp:inkscape r12172. The checks don't appear to be used anywhere, so I simply removed them.

Changed in inkscape:
milestone: none → 0.49
status: In Progress → Fix Committed
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.