From owner-freebsd-ports@freebsd.org Tue Oct 24 05:56:37 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66E3FE40F8D for ; Tue, 24 Oct 2017 05:56:37 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2768E718A0 for ; Tue, 24 Oct 2017 05:56:37 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-io0-x235.google.com with SMTP id b186so22630539iof.8 for ; Mon, 23 Oct 2017 22:56:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AkL3ro5Wo2txknHy65SjRp4YSeNwKdQficChjGwFjfU=; b=X5zhCKjI6UosrbwmzwcFQ4RCfLSUOubh4A2k0NEkxUpG97GGmrtQ9cFrLQE7w0HpmW 2CPEm2Mf94mWWxxkUg/HlYNgjjvHCsvf3YH9+9yio6S3wR8yDNpDmfAjE++iBx6MDVeT tmQIdYFxwnL4voaSW31iWFxD2aJw7o6CX3Ba4NBqTpUyb0tFl/eT5JlsxwJwAaJRaUgT NyZQ96XpwRy5j+IOz4Ul/kJOW7mm8Vo/zwfsHclAyXyMSriiNUUOr59+h8pwjuRLs3AV LVpnUWuWqU5BMygSH1MVz1XaE6re/UCytQAdQ4m4unpGBarkDBUzD23jAR1t0aQtcw68 RD/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AkL3ro5Wo2txknHy65SjRp4YSeNwKdQficChjGwFjfU=; b=pGx5EFFU5QH5ewQldvzBxm7rsuqQSbcTYS7Eh98caAo1d+CMBXEqVX2IFIwOvLC04S 3mWT3kPi68xYRo0pm1332gk5dSicgYzh+TV82Qd+NlBJxC52P40+b7ikiH0ro9MouOi/ 2GoZCrMes6xKEshxmXkW9BHMZKdOtLBP9CP6RI9ZltoMVb2MXf5H2JDawkBljxoGCq3o SVgl65rtNzfcV4XDntfY5wccgv51eFfiocZu9Gnn5sOFIKJr4xrloKseC4RtoQBBzMDd reU7zX41DDK8hkIM9FRCl5OPcBqDTOj+kUInM6p2V6ot9uJ6TX7Tmf1O6XSF3HQRqrDR dMnQ== X-Gm-Message-State: AMCzsaVMjAMibjGDp4GA2FpEcxGgFO9QqGg3RYxnkXTuseLWK4QVUETV QpdWOrGnY/QsDl1Yt2BNbqkZVi8wOtY87ZC+1QQ= X-Google-Smtp-Source: ABhQp+Qld53FoBS7TRrR4dUOwx98zwCO0KhladY1OY3YxtfZXLd6+s/Q+H2tXSU9iTHCnX8T6fkAlE6yP9/jKsduamo= X-Received: by 10.107.135.25 with SMTP id j25mr19017411iod.213.1508824596144; Mon, 23 Oct 2017 22:56:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.8.66 with HTTP; Mon, 23 Oct 2017 22:56:35 -0700 (PDT) In-Reply-To: References: <20171024051537.GA34891@home.opsec.eu> From: blubee blubeeme Date: Tue, 24 Oct 2017 13:56:35 +0800 Message-ID: Subject: Re: Linking against TK* To: Kevin Oberman Cc: Kurt Jaeger , FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 05:56:37 -0000 I already took a look at the current opencascade port, most of those issues that patch addresses are fixed in the oce from github. opencascade isn't something u really run, you just link against it for maths the DRAWEXE is used for testing and that's what's missing some shared objects. I think I might be missing some USES or LIB_DEPENDS but this is a heavy port to compile so iteration time is really slow. I'll try using lang/tcl86 and x11-toolkits/tk86 I think I might have missed those in previous attempts. On Tue, Oct 24, 2017 at 1:47 PM, Kevin Oberman wrote: > On Mon, Oct 23, 2017 at 10:29 PM, blubee blubeeme > wrote: > >> building opencascade community edition: https://github.com/tpaviot/oce >> >> but the executable is missing those libTK** shared objects. How would I >> link them in? >> >> On Tue, Oct 24, 2017 at 1:15 PM, Kurt Jaeger wrote: >> >> > Hi! >> > >> > > I am running -ldd on a executable and I am missing links to a bunch >> > > of: libTK**.so files >> > > >> > > such as: >> > > libTKGeomBase.so.11 => not found (0) >> > > libTKG3d.so.11 => not found (0) >> > > libTKG2d.so.11 => not found (0) >> > > libTKMath.so.11 => not found (0) >> > > >> > > I've searched quite a bit and can't find where those files are >> located. >> > > What's going on, how do I link against them? >> > >> > https://pkgs.org/download/libTKG2d.so.11()(64bit) says that >> > those libs are part of opencascade. >> > >> > Searching cad/opencascade/pkg-plist finds >> > >> > lib/libTKG2d.so >> > lib/libTKG2d.so.7 >> > lib/libTKG2d.so.7.1.0 >> > >> > So, that's close, but not exactly what you searched. Does this help ? >> > >> > -- >> > pi@opsec.eu +49 171 3101372 3 years >> to >> > go ! >> > >> > > Looking at the current port (cad/opencascade), I'd guess > -DINSTALL_DIR_LIB=${PREFIX}/lib as an argument to cmake. I suggest > looking at the port to see how to get the newer version to build as you > wish. Also look at the patches in files to see if any are appropriate and > should be updated to the current version. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 >